mirror of https://gitlab.com/dabruh/dotfiles.git
Bug fix: Remove shortest match of trailing dot.
This commit is contained in:
parent
1b4136756e
commit
6fc1558880
|
@ -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 New Issue