aboutsummaryrefslogtreecommitdiff
path: root/zshrc.d/prompt
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2018-07-31 17:13:45 +0200
committerKarel Kočí <karel.koci@nic.cz>2018-07-31 17:14:11 +0200
commit8bd8b693baa3d24dc84638c714650c60e2c814d2 (patch)
tree7acac9211196d62dc2c872712f55e4105b414bd6 /zshrc.d/prompt
parent4e20ca69d17fedadf8be582bc6ba130ec1ab2368 (diff)
downloadshellrc-8bd8b693baa3d24dc84638c714650c60e2c814d2.tar.gz
shellrc-8bd8b693baa3d24dc84638c714650c60e2c814d2.tar.bz2
shellrc-8bd8b693baa3d24dc84638c714650c60e2c814d2.zip
Use system git-prompt
Diffstat (limited to 'zshrc.d/prompt')
-rw-r--r--zshrc.d/prompt4
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"