Move pending changes flag to front of git branch name

This commit is contained in:
Eryn Wells 2012-03-14 13:59:30 -07:00
parent 86eec915d6
commit 6d2cd63eb8

2
zshrc
View file

@ -65,7 +65,7 @@ precmd_git_rprompt()
RPROMPT="$branch"
echo $gstat | grep '^nothing' 1>/dev/null 2>&1
if [[ $? != 0 ]]; then
RPROMPT="$RPROMPT%B%F{green}*%f%b"
RPROMPT="%B%F{green}*%f%b$RPROMPT"
fi
}