diff --git a/.config/bash/module/name.sh b/.config/bash/module/name.sh index 68049e9..7c41dfb 100644 --- a/.config/bash/module/name.sh +++ b/.config/bash/module/name.sh @@ -31,7 +31,7 @@ name() [[ "${ext#.}" = "${name}" ]] && ext="" # Get new name. - local new_name=$(parse_simplify "${name}")${ext} + local new_name=$(parse_simplify "${name}")${ext,,} # status line. local status="[${count}/${total}] ${target} -> ${new_name}" @@ -87,7 +87,7 @@ name_hash() # hash the new name. local hash=$(sha1sum -- "${target}" | cut -d\ -f1) - new_name="${hash,,}${extension}" + new_name="${hash,,}${extension,,}" # prepare status. local status="[${count}/${total}] ${target} -> ${new_name}"