Skip to content
Snippets Groups Projects
  1. Feb 04, 2019
  2. Jan 29, 2018
  3. Aug 24, 2016
  4. Jun 02, 2015
    • Øyvind A. Holm's avatar
      Check for NCDU_SHELL environment variable when spawning shell · 7be85679
      Øyvind A. Holm authored
      Check if the environment variable NCDU_SHELL is defined before the SHELL
      variable is checked. This makes it possible to specify a program to
      execute when 'b' is pressed. Setting SHELL to for example "mc" (Midnight
      Commander) didn't work because mc already uses SHELL to execute
      commands.
      7be85679
  5. Apr 07, 2015
  6. Dec 14, 2014
    • Yorhel's avatar
      Minor fixes to new shell feature · 777db9a5
      Yorhel authored
      The check for the system() exit status is slightly problematic, because
      bash returns the status code of the last command it executed. I've set
      it to only check for status code 127 now (command not found) in order to
      at least provide a message when the $SHELL command can't be found. This
      error can still be triggered when executing a nonexistant command within
      the shell and then exiting.
      777db9a5
    • Thomas Jarosch's avatar
      Add ability to spawn shell · a25e5f80
      Thomas Jarosch authored
      
      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: default avatarThomas Jarosch <thomas.jarosch@intra2net.com>
      a25e5f80
  7. Jan 22, 2014
  8. Jan 18, 2012
  9. Oct 31, 2011
  10. Feb 27, 2010
  11. Apr 26, 2009
  12. Apr 19, 2009
  13. Apr 18, 2009
  14. Apr 13, 2009
  15. Apr 11, 2009
  16. Apr 05, 2009
  17. Jan 11, 2009
  18. Aug 02, 2008
  19. Aug 05, 2007
  20. Jul 26, 2007
  21. Jul 21, 2007
  22. Jul 20, 2007
Loading