mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-06 03:12:24 +00:00
Fix git prompt in zsh
This commit is contained in:
parent
fbd2f97beb
commit
5a48f2412b
1 changed files with 2 additions and 1 deletions
|
@ -20,7 +20,8 @@ git_status() {
|
|||
|
||||
if [ ! -z $BRANCH ]; then
|
||||
echo -n "(%F{$__bright_cyan}$BRANCH"
|
||||
[ ! -z "$(git status --short)" ] && echo -n "%F{$__bright_white}*%f)"
|
||||
[ ! -z "$(git status --short)" ] && echo -n "%F{$__bright_white}*%f"
|
||||
echo -n ")"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue