diff options
author | HIEGEL Hugues <g178241@osnp1260077.(none)> | 2008-06-10 10:51:50 +0200 |
---|---|---|
committer | HIEGEL Hugues <g178241@osnp1260077.(none)> | 2008-06-10 10:51:50 +0200 |
commit | 81ab44d00c797367d4d2a73aa0feb124c91707b7 (patch) | |
tree | c54ece5365a2cb4a705702c2adcbeea9ea646752 | |
parent | ae30d60218e8d08069e32a7e0540cac4b60acd57 (diff) |
svn diff instead of svn status, that's quicker...
-rw-r--r-- | 12_Prompts.zsh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/12_Prompts.zsh b/12_Prompts.zsh index b6cf511..37237ea 100644 --- a/12_Prompts.zsh +++ b/12_Prompts.zsh @@ -103,9 +103,8 @@ old_precmd() SVNREVSIZE=${#${SVNREV:+:r$SVNREV}} if [ "$SVNREV" != "" ] then - SVNSTATUS="$(svn status 2>&-)" - SVNSTATUS=${SVNSTATUS:+$prompt_colors[not_up_to_date]} - SVNSTATUS=${SVNSTATUS:-$prompt_colors[up_to_date]} + SVNSTATUS="$(svn diff 2>&-)" + 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 |