diff --git a/plugins/.nmv b/plugins/.nmv index 6176c961..77625466 100755 --- a/plugins/.nmv +++ b/plugins/.nmv @@ -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