mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-25 05:42:22 +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
|
if [ ! -z $BRANCH ]; then
|
||||||
echo -n "(%F{$__bright_cyan}$BRANCH"
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue