nnn

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

commit 472564fd7f1245617a792f20cdf43ca47e4164e5
parent 4f787fd59e7b69e771f53478477727e38a434a43
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Sun, 17 Nov 2019 21:02:43 +0530

Do not update merged file, remove README.md

Diffstat:
Mplugins/getplugs | 3+--
Mplugins/imgresize | 6++----
2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/plugins/getplugs b/plugins/getplugs @@ -15,7 +15,6 @@ is_cmd_exists () { merge () { vimdiff $1 $2 - cp -vRf $1 $2 } prompt () { @@ -63,4 +62,4 @@ done cd ../.. $sucmd mv -vf nnn-master/misc/nlaunch/nlaunch /usr/local/bin/ -rm -rf nnn-master/ master.tar.gz README.md +rm -rf nnn-master/ master.tar.gz $PLUGIN_DIR/README.md diff --git a/plugins/imgresize b/plugins/imgresize @@ -25,8 +25,6 @@ if [ -z "$res" ]; then read res fi -if ! [ -z "$res" ]; then - if ! [ -z "$minsize" ]; then - imgp -ackx "$res" -s "$minsize" - fi +if ! [ -z "$res" ] && ! [ -z "$minsize" ]; then + imgp -ackx "$res" -s "$minsize" fi