summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/rc8
1 files changed, 1 insertions, 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 {