mirror of
https://github.com/jarun/nnn.git
synced 2025-02-26 03:01:32 +00:00
Re-populate after spawning shell
This commit is contained in:
parent
af35b8a27c
commit
035bcdb198
1 changed files with 3 additions and 0 deletions
3
nnn.c
3
nnn.c
|
@ -3049,6 +3049,9 @@ nochange:
|
|||
run = xgetenv(env, run);
|
||||
spawn(run, NULL, NULL, path, F_NORMAL | F_MARKER);
|
||||
/* Repopulate as directory content may have changed */
|
||||
/* Save current */
|
||||
if (ndents > 0)
|
||||
copycurname();
|
||||
goto begin;
|
||||
case SEL_RUNARG:
|
||||
run = xgetenv(env, run);
|
||||
|
|
Loading…
Add table
Reference in a new issue