Browse Source

Quick switch on empty command

master
Arun Prakash Jana 6 years ago
parent
commit
c26b9abd05
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/nnn.c

+ 1
- 1
src/nnn.c View File

@@ -3423,7 +3423,7 @@ nochange:
} else if (sel == SEL_RUNCMD) { } else if (sel == SEL_RUNCMD) {
tmp = xreadline(NULL, "> "); tmp = xreadline(NULL, "> ");
if (!tmp || !tmp[0]) if (!tmp || !tmp[0])
goto nochange; break;
spawn(shell, "-c", tmp, path, F_NORMAL | F_SIGINT); spawn(shell, "-c", tmp, path, F_NORMAL | F_SIGINT);
} else } else
spawn(shell, shell_arg, NULL, path, F_NORMAL | F_MARKER); spawn(shell, shell_arg, NULL, path, F_NORMAL | F_MARKER);


||||||
x
 
000:0
Loading…
Cancel
Save