-
- Downloads
Add ability to spawn shell
Key 'b' in the browse window spawns a shell in the current directoy.
We first check the $SHELL environment variable of the user for the preferred
shell interpreter. If it's not set, we fall back to the compile time
configured default shell (usually /bin/bash).
Signed-off-by:
Thomas Jarosch <thomas.jarosch@intra2net.com>
Showing
- Makefile.am 2 additions, 0 deletionsMakefile.am
- configure.ac 13 additions, 2 deletionsconfigure.ac
- doc/ncdu.pod 8 additions, 0 deletionsdoc/ncdu.pod
- src/browser.c 3 additions, 0 deletionssrc/browser.c
- src/global.h 1 addition, 0 deletionssrc/global.h
- src/help.c 1 addition, 0 deletionssrc/help.c
- src/main.c 1 addition, 0 deletionssrc/main.c
- src/shell.c 78 additions, 0 deletionssrc/shell.c
- src/shell.h 35 additions, 0 deletionssrc/shell.h
Loading
Please register or sign in to comment