From: Arun Prakash Jana Date: Thu, 26 Sep 2019 16:15:08 +0000 (+0530) Subject: Do not reload dir after running plugin X-Git-Tag: v2.7~59 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=85b5d33fa4d0eb02de29f9b00df5a6a320c686dd;p=nnn.git Do not reload dir after running plugin --- diff --git a/src/nnn.c b/src/nnn.c index a7d678b4..4e5ed592 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;