From 982e79e595f2bce3ca904947bf6a951e3cd6ee43 Mon Sep 17 00:00:00 2001 From: phone Date: Sun, 10 Dec 2023 07:30:24 +0300 Subject: [PATCH] name : fix_numbering only starting with a digit. --- .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 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