From 12f108cac9ce5b573473904ad0ecef5535448347 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sat, 9 Nov 2019 02:52:44 +0530 Subject: [PATCH] Fix fzcd not working from other contexts --- src/nnn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nnn.c b/src/nnn.c index 0fc42f43..ad45dbd0 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))