mirror of
https://github.com/danbee/dotfiles-local
synced 2025-03-04 08:49:07 +00:00
Tweak
This commit is contained in:
parent
8e5c6b014d
commit
28f7794a7c
@ -16,7 +16,7 @@ update_git_prompt() {
|
|||||||
GIT_PROMPT+="%{$fg_bold[yellow]%}+%{$reset_color%}"
|
GIT_PROMPT+="%{$fg_bold[yellow]%}+%{$reset_color%}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $VCS_STATUS_HAS_UNSTAGED ]]; then
|
if [[ $VCS_STATUS_HAS_UNSTAGED == 1 ]]; then
|
||||||
GIT_PROMPT+="%{$fg_bold[red]%}∗%{$reset_color%}"
|
GIT_PROMPT+="%{$fg_bold[red]%}∗%{$reset_color%}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user