mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Avoid error working in .git directory
This commit is contained in:
@@ -49,7 +49,7 @@ zle -N zle-keymap-select
|
|||||||
zle -N zle-line-init zle-keymap-select
|
zle -N zle-line-init zle-keymap-select
|
||||||
|
|
||||||
function prompt_matir_precmd {
|
function prompt_matir_precmd {
|
||||||
vcs_info
|
vcs_info 2>/dev/null
|
||||||
if [ $VIRTUAL_ENV ] ; then
|
if [ $VIRTUAL_ENV ] ; then
|
||||||
VIRTUAL_ENV_SHORT=" (py:$(basename $VIRTUAL_ENV))"
|
VIRTUAL_ENV_SHORT=" (py:$(basename $VIRTUAL_ENV))"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user