Browse Source
Merge pull request #857 from KlzXS/batch_rename
Favor selection over current for nmv
master
Mischievous Meerkat
GitHub
3 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
6 deletions
-
plugins/.nmv
|
|
@@ -27,12 +27,9 @@ exit_status=0 |
|
|
|
dst_file=$(mktemp "$TMPDIR/.nnnXXXXXX") |
|
|
|
|
|
|
|
if [ -s "$selection" ]; then |
|
|
|
printf "Rename 'c'urrent / 's'election? " |
|
|
|
read -r resp |
|
|
|
|
|
|
|
if ! [ "$resp" = "c" ] && ! [ "$resp" = "s" ]; then |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
resp="s" |
|
|
|
else |
|
|
|
resp="c" |
|
|
|
fi |
|
|
|
|
|
|
|
if [ "$resp" = "s" ]; then |
|
|
|