diff options
author | Karel Kočí <karel.koci@nic.cz> | 2018-07-31 17:13:45 +0200 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2018-07-31 17:14:11 +0200 |
commit | 8bd8b693baa3d24dc84638c714650c60e2c814d2 (patch) | |
tree | 7acac9211196d62dc2c872712f55e4105b414bd6 | |
parent | 4e20ca69d17fedadf8be582bc6ba130ec1ab2368 (diff) | |
download | shellrc-8bd8b693baa3d24dc84638c714650c60e2c814d2.tar.gz shellrc-8bd8b693baa3d24dc84638c714650c60e2c814d2.tar.bz2 shellrc-8bd8b693baa3d24dc84638c714650c60e2c814d2.zip |
Use system git-prompt
-rw-r--r-- | zshrc.d/prompt | 4 |
1 files changed, 2 insertions, 2 deletions
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" |