From 75e86c19557609d68ac23251133c310334297d0e Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 14 Mar 2010 19:17:18 +0100 Subject: dirinfo: No trailing whitespace --- etc/rc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/etc/rc b/etc/rc index 1405f93..919aaec 100644 --- a/etc/rc +++ b/etc/rc @@ -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 { -- cgit v1.2.3