From 28f7794a7c474b32d80f895cafe32c97a1b7f5cf Mon Sep 17 00:00:00 2001 From: Daniel Barber Date: Wed, 24 Apr 2019 22:53:30 -0400 Subject: [PATCH] Tweak --- zsh/configs/prompt.zsh.local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/configs/prompt.zsh.local b/zsh/configs/prompt.zsh.local index 50d1676..6dae83d 100644 --- a/zsh/configs/prompt.zsh.local +++ b/zsh/configs/prompt.zsh.local @@ -16,7 +16,7 @@ update_git_prompt() { GIT_PROMPT+="%{$fg_bold[yellow]%}+%{$reset_color%}" fi - if [[ $VCS_STATUS_HAS_UNSTAGED ]]; then + if [[ $VCS_STATUS_HAS_UNSTAGED == 1 ]]; then GIT_PROMPT+="%{$fg_bold[red]%}∗%{$reset_color%}" fi