commit 12f108cac9ce5b573473904ad0ecef5535448347
parent 53a2e4c56058db01dbe7bcbaeb37a9352fc73959
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Sat, 9 Nov 2019 02:52:44 +0530
Fix fzcd not working from other contexts
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/nnn.c b/src/nnn.c
@@ -4971,6 +4971,7 @@ nochange:
} else {
xstrlcpy(rundir, path, PATH_MAX);
xstrlcpy(path, plugindir, PATH_MAX);
+ cfg.runctx = cfg.curctx;
if (!run_selected_plugin(&path, tmp, newpath, rundir,
(ndents ? dents[cur].name : NULL),
&lastname, &lastdir))