mirror of
https://github.com/jarun/nnn.git
synced 2024-10-31 16:37:18 +00:00
Revert "Favor selection over current for nmv"
This reverts commit c9c1d0d454
.
This commit is contained in:
parent
12e7e2c7e0
commit
2dccb94f3f
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue