diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2018-12-13 21:49:06 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2018-12-13 21:49:06 +0530 |
commit | c26b9abd05ff1e7bc2557c35be61809ef54a71ca (patch) | |
tree | 342627d9e8be7259edeb5ef27c3b95d1a333f8da /src | |
parent | f76724e0efdbacc6e3ac19ab802ff031f7eba2c4 (diff) | |
download | nnn-c26b9abd05ff1e7bc2557c35be61809ef54a71ca.tar.gz |
Quick switch on empty command
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 2 |
1 files changed, 1 insertions, 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); |