From df5e4edde83bccfed08ff727ab0100b21b2f5e47 Mon Sep 17 00:00:00 2001 From: desktop Date: Wed, 3 Jan 2024 22:04:54 +0300 Subject: [PATCH] Name : Fix name_simple. --- .config/bash/module/Name.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/bash/module/Name.sh b/.config/bash/module/Name.sh index 11a791a..37e8465 100644 --- a/.config/bash/module/Name.sh +++ b/.config/bash/module/Name.sh @@ -61,7 +61,7 @@ function name_simple() { [[ "${ext#.}" = "${name}" ]] && ext="" # Get new name. - local new_name=$(echo "${name}" | parse_simplify)${ext,,} + local new_name=$(parse_simplify "${name}")${ext,,} # check if same name. [[ "${target}" = "${new_name}" ]] && return 0