Fix fzcd not working from other contexts

This commit is contained in:
Arun Prakash Jana 2019-11-09 02:52:44 +05:30
parent 53a2e4c560
commit 12f108cac9
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 1 additions and 0 deletions

View File

@ -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))