diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-03-14 19:17:18 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-03-14 19:17:18 +0100 |
commit | 75e86c19557609d68ac23251133c310334297d0e (patch) | |
tree | 0a7ce9ce8dd06d2ea10c7fb8d1b2eb9b8f8de5a2 | |
parent | ef6cd406d547f5905dacf5b5c177914e44809f26 (diff) |
dirinfo: No trailing whitespace
-rw-r--r-- | etc/rc | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -169,13 +169,7 @@ function dirinfo { [[ -d .svn ]] && string+='svn ' [[ -f Makefile || -f makefile ]] && string+='make ' - # if we're running in screen, we're the only one writing into the prompt - # -> no trailing whitespace - if [[ $TERM == screen* ]] { - echo ${string% } - } else { - echo $string - } + echo ${string% } } function xhashd { |