Revert "Favor selection over current for nmv"

This reverts commit c9c1d0d454.
This commit is contained in:
Arun Prakash Jana 2021-03-17 22:19:01 +05:30
parent 12e7e2c7e0
commit 2dccb94f3f
1 changed files with 6 additions and 3 deletions

View File

@ -27,9 +27,12 @@ exit_status=0
dst_file=$(mktemp "$TMPDIR/.nnnXXXXXX")
if [ -s "$selection" ]; then
resp="s"
else
resp="c"
printf "Rename 'c'urrent / 's'election? "
read -r resp
if ! [ "$resp" = "c" ] && ! [ "$resp" = "s" ]; then
exit 1
fi
fi
if [ "$resp" = "s" ]; then