diff options
Diffstat (limited to 'src/nnn.c')
-rw-r--r-- | src/nnn.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -5259,6 +5259,12 @@ nochange: goto nochange; } + if (tmp[0] == '-' && tmp[1]) { + ++tmp; + r = FALSE; /* Do not refresh dir after completion */ + } else + r = TRUE; + if (!run_selected_plugin(&path, tmp, newpath, (ndents ? dents[cur].name : NULL), &lastname, &lastdir)) { @@ -5266,6 +5272,11 @@ nochange: goto nochange; } + if (!r) { + clearprompt(); + goto nochange; + } + if (ndents) copycurname(); } else { |