1. 09 Oct, 2010 1 commit
    • Brandon Philips's avatar
      functions: fix title() to not match any $TERM · aab235f6
      Brandon Philips authored
      
      
      On my linux virtual terminals, where TERM="linux", I was getting
      annoying output that was messing up my prompt.
      
      It turns out the title function was always matching on the elif
      statement for xterm/rxvt no matter what and the linux vt doesn't know
      what to do with the title special control sequence and thus was printing
      out garbage.
      
      Through experimentation I figured out that the || inside of the [[ ]]
      did not work:
      
      export TERM=linux
      $ if [[ $TERM =~ "^xterm" || $TERM == "rxvt" ]]; then echo $TERM; fi
      linux
      
      $ if [[ $TERM =~ "^xterm" ]] || [[ $TERM == "rxvt" ]]; then echo $TERM; fi
      Signed-off-by: default avatarBrandon Philips <brandon@ifup.org>
      
      openSUSE running zsh 4.3.10
      aab235f6
  2. 08 Oct, 2010 1 commit
  3. 01 Oct, 2010 1 commit
  4. 26 Sep, 2010 1 commit
  5. 20 Sep, 2010 5 commits
  6. 24 Aug, 2010 1 commit
  7. 05 Jun, 2010 4 commits
  8. 03 Jun, 2010 5 commits
  9. 28 May, 2010 1 commit
  10. 07 May, 2010 7 commits
  11. 09 Apr, 2010 1 commit
  12. 22 Mar, 2010 1 commit
  13. 28 Dec, 2009 2 commits
  14. 16 Dec, 2009 1 commit
  15. 13 Dec, 2009 1 commit
  16. 12 Dec, 2009 1 commit
  17. 10 Dec, 2009 1 commit
  18. 01 Dec, 2009 1 commit
  19. 30 Nov, 2009 1 commit
  20. 25 Nov, 2009 1 commit
  21. 09 Nov, 2009 2 commits