From 8bd8b693baa3d24dc84638c714650c60e2c814d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 31 Jul 2018 17:13:45 +0200 Subject: Use system git-prompt --- zshrc.d/prompt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zshrc.d/prompt') diff --git a/zshrc.d/prompt b/zshrc.d/prompt index 07437b1..da46f08 100644 --- a/zshrc.d/prompt +++ b/zshrc.d/prompt @@ -5,8 +5,8 @@ PROMPT="%(?..%{$fg_bold[yellow]%}EXIT: %? )%{$fg_bold[$NCOLOR]%}%n@%m:%{$fg_bold[blue]%}%1~%{$fg_bold[$NCOLOR]%}%(!.#.$)%{$reset_color%} " unset NCOLOR -if [ -e ~/.local/git-prompt.sh ]; then - source ~/.local/git-prompt.sh +if [ -e /usr/share/git/git-prompt.sh ]; then + source /usr/share/git/git-prompt.sh export GIT_PS1_SHOWDIRTYSTATE=y export GIT_PS1_SHOWUNTRACKEDFILES=y export GIT_PS1_SHOWUPSTREAM="auto" -- cgit v1.2.3