aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 0fc42f4..ad45dbd 100644
--- 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))