nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 4b155359839af2f93e2136fb2343fa5247142ccc
parent 916910bd7a21b2408a01773b47ff00807b81160b
Author: Mischievous Meerkat <engineerarun@gmail.com>
Date:   Thu, 18 Feb 2021 00:39:00 +0530

Merge pull request #857 from KlzXS/batch_rename

Favor selection over current for nmv
Diffstat:
Mplugins/.nmv | 9+++------
1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/plugins/.nmv b/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