Skip to content

Commit

Permalink
Fix fzcd not working from other contexts
Browse files Browse the repository at this point in the history
  • Loading branch information
jarun committed Nov 8, 2019
1 parent 53a2e4c commit 12f108c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/nnn.c
Original file line number Diff line number Diff line change
Expand Up @@ -4971,6 +4971,7 @@ static void browse(char *ipath, const char *session)
} 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))
Expand Down

0 comments on commit 12f108c

Please sign in to comment.