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