Avoid error working in .git directory

This commit is contained in:
David Tomaschik
2020-07-12 18:05:30 -07:00
parent 3e225ae2ab
commit 1cab41bfd5

View File

@@ -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