summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2008-08-25 11:24:32 +0200
committerHugues Hiegel <hugues@hiegel.fr>2008-08-25 11:25:01 +0200
commitd7b33432c1d2cc325bf800078978dc19cb8373ba (patch)
tree9664587d7c8bdbda8ac96c7fb774d262d9dac87a
parentdd311b941af91e392e6504b5ec10d2b95abc38be (diff)
Some cleaning up for SVN status
-rw-r--r--12_Prompts.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/12_Prompts.zsh b/12_Prompts.zsh
index 766d57e..5be8eea 100644
--- a/12_Prompts.zsh
+++ b/12_Prompts.zsh
@@ -104,7 +104,7 @@ old_precmd()
if [ "$SVNREV" != "" ]
then
SVNSTATUS="$(svn diff 2>&-)"
- SVNSTATUS=${${SVNSTATUS:+$prompt_colors[not_up_to_date]}:$chars['-']$prompt_colors[up_to_date]}
+ SVNSTATUS=${${SVNSTATUS:+$prompt_colors[not_up_to_date]}:-$prompt_colors[up_to_date]}
fi
SVNREV=${SVNREV:+$C_$prompt_colors[doubledot]$_C $C_$SVNSTATUS$_C"r"$SVNREV}
[ "$DEBUG" = "yes" ] && echo