mirror of
https://github.com/jarun/nnn.git
synced 2025-01-09 01:21:10 +00:00
Fix fzcd not working from other contexts
This commit is contained in:
parent
53a2e4c560
commit
12f108cac9
|
@ -4971,6 +4971,7 @@ nochange:
|
||||||
} else {
|
} else {
|
||||||
xstrlcpy(rundir, path, PATH_MAX);
|
xstrlcpy(rundir, path, PATH_MAX);
|
||||||
xstrlcpy(path, plugindir, PATH_MAX);
|
xstrlcpy(path, plugindir, PATH_MAX);
|
||||||
|
cfg.runctx = cfg.curctx;
|
||||||
if (!run_selected_plugin(&path, tmp, newpath, rundir,
|
if (!run_selected_plugin(&path, tmp, newpath, rundir,
|
||||||
(ndents ? dents[cur].name : NULL),
|
(ndents ? dents[cur].name : NULL),
|
||||||
&lastname, &lastdir))
|
&lastname, &lastdir))
|
||||||
|
|
Loading…
Reference in a new issue