mirror of
https://gitlab.com/dabruh/dotfiles.git
synced 2025-04-25 10:38:11 +02:00
Bug fix: Remove shortest match of trailing dot.
This commit is contained in:
parent
1b4136756e
commit
6fc1558880
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ function get_file_name() {
|
||||||
local fn
|
local fn
|
||||||
fn="$(get_field file)"
|
fn="$(get_field file)"
|
||||||
fn="${fn##*/}"
|
fn="${fn##*/}"
|
||||||
fn="${fn%%.*}"
|
fn="${fn%.*}"
|
||||||
echo "$fn"
|
echo "$fn"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue