diff --git a/.config/bash/module/name.sh b/.config/bash/module/name.sh index ad45a88..14b84fe 100644 --- a/.config/bash/module/name.sh +++ b/.config/bash/module/name.sh @@ -487,7 +487,7 @@ function name_fix_numbering() { # All files by default. if [[ "${targets[*]}" = "" ]]; then - targets=($(ls)) + targets=($(ls | grep "^[0-9]")) total=${#targets[@]} fi