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

View file

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