diff options
Diffstat (limited to '.zsh/prompt_custom_setup')
-rw-r--r-- | .zsh/prompt_custom_setup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.zsh/prompt_custom_setup b/.zsh/prompt_custom_setup index 1fd02c4..262777a 100644 --- a/.zsh/prompt_custom_setup +++ b/.zsh/prompt_custom_setup @@ -11,7 +11,7 @@ function prompt_print_hostname() { function git_prompt_parse_dirty() { local FLAGS=("--porcelain" "--ignore-submodules=dirty") - local STATUS=$(command git status $FLAGS | tail -n1) + local STATUS=$(command git status $FLAGS 2> /dev/null | tail -n1) if [[ -n $STATUS ]]; then printf "%s" "%F{214}*%f" fi |