diff options
-rw-r--r-- | global/etc/zshrc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/global/etc/zshrc b/global/etc/zshrc index 0ad8dd3..19027aa 100644 --- a/global/etc/zshrc +++ b/global/etc/zshrc @@ -1,8 +1,9 @@ autoload -U colors && colors autoload -U compinit && compinit -source /usr/share/git/completion/git-prompt.sh - +if ! source /usr/share/git/completion/git-prompt.sh 2>/dev/null; then + function __git_ps1() { } +fi setopt NO_BG_NICE |