diff options
| author | 2018-02-15 19:21:58 +0530 | |
|---|---|---|
| committer | 2018-02-15 19:21:58 +0530 | |
| commit | 035bcdb198b1160cba4cc93488776a92348839db (patch) | |
| tree | 444d0a8ef636dbefe967732462ac1b9b802b072d | |
| parent | af35b8a27c95fb35c8624247c7b59ba726e7267e (diff) | |
| download | nnn-035bcdb198b1160cba4cc93488776a92348839db.tar.gz | |
Re-populate after spawning shell
| -rw-r--r-- | nnn.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |