From 1cab41bfd58bef5f1db74390a8db23f9093db8d1 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Sun, 12 Jul 2020 18:05:30 -0700 Subject: [PATCH] Avoid error working in .git directory --- dotfiles/zshrc.d/matir_prompt/prompt_matir_setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/zshrc.d/matir_prompt/prompt_matir_setup b/dotfiles/zshrc.d/matir_prompt/prompt_matir_setup index 2baf96c..e83d6a4 100644 --- a/dotfiles/zshrc.d/matir_prompt/prompt_matir_setup +++ b/dotfiles/zshrc.d/matir_prompt/prompt_matir_setup @@ -49,7 +49,7 @@ zle -N zle-keymap-select zle -N zle-line-init zle-keymap-select function prompt_matir_precmd { - vcs_info + vcs_info 2>/dev/null if [ $VIRTUAL_ENV ] ; then VIRTUAL_ENV_SHORT=" (py:$(basename $VIRTUAL_ENV))" else