mirror of
https://github.com/jarun/nnn.git
synced 2025-03-12 17:54:04 +00:00
Quick switch on empty command
This commit is contained in:
parent
f76724e0ef
commit
c26b9abd05
1 changed files with 1 additions and 1 deletions
|
@ -3423,7 +3423,7 @@ nochange:
|
|||
} else if (sel == SEL_RUNCMD) {
|
||||
tmp = xreadline(NULL, "> ");
|
||||
if (!tmp || !tmp[0])
|
||||
goto nochange;
|
||||
break;
|
||||
spawn(shell, "-c", tmp, path, F_NORMAL | F_SIGINT);
|
||||
} else
|
||||
spawn(shell, shell_arg, NULL, path, F_NORMAL | F_MARKER);
|
||||
|
|
Loading…
Add table
Reference in a new issue