mirror of
https://github.com/jarun/nnn.git
synced 2025-03-14 10:44:05 +00:00
Clear filter early before running plugin
This commit is contained in:
parent
3b5800fc7a
commit
c470143113
1 changed files with 1 additions and 1 deletions
|
@ -6702,6 +6702,7 @@ nochange:
|
||||||
/* Copy path so we can return back to earlier dir */
|
/* Copy path so we can return back to earlier dir */
|
||||||
xstrsncpy(path, rundir, PATH_MAX);
|
xstrsncpy(path, rundir, PATH_MAX);
|
||||||
rundir[0] = '\0';
|
rundir[0] = '\0';
|
||||||
|
clearfilter();
|
||||||
|
|
||||||
if (chdir(path) == -1
|
if (chdir(path) == -1
|
||||||
|| !run_plugin(&path, pent->name,
|
|| !run_plugin(&path, pent->name,
|
||||||
|
@ -6716,7 +6717,6 @@ nochange:
|
||||||
xstrsncpy(lastname, runfile, NAME_MAX + 1);
|
xstrsncpy(lastname, runfile, NAME_MAX + 1);
|
||||||
runfile[0] = '\0';
|
runfile[0] = '\0';
|
||||||
}
|
}
|
||||||
clearfilter();
|
|
||||||
setdirwatch();
|
setdirwatch();
|
||||||
goto begin;
|
goto begin;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue