aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-09-26 21:45:08 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-09-26 21:45:08 +0530
commit85b5d33fa4d0eb02de29f9b00df5a6a320c686dd (patch)
tree31b9574971e6305c0e408d67cad96d082198542e /src
parentd7ce06b10b4c90ff07120ff5ad8f2291971c94fd (diff)
downloadnnn-85b5d33fa4d0eb02de29f9b00df5a6a320c686dd.tar.gz
Do not reload dir after running plugin
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index a7d678b..4e5ed59 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -4437,7 +4437,10 @@ nochange:
spawn(newpath, dents[cur].name, NULL, path, F_NORMAL);
else
spawn(newpath, NULL, NULL, path, F_NORMAL);
- break;
+
+ if (cfg.filtermode)
+ presel = FILTER;
+ goto nochange;
}
cfg.runplugin ^= 1;