|
@@ -1027,8 +1027,8 @@ for f in /usr/share/git/git-prompt.sh \ |
|
|
do |
|
|
do |
|
|
test -r "$f" && ($inbash || $inzsh) && . "$f" && break |
|
|
test -r "$f" && ($inbash || $inzsh) && . "$f" && break |
|
|
done |
|
|
done |
|
|
GIT_PS1_SHOWDIRTYSTATE=t |
|
|
|
|
|
GIT_PS1_SHOWUPSTREAM=t |
|
|
|
|
|
|
|
|
export GIT_PS1_SHOWDIRTYSTATE=t |
|
|
|
|
|
export GIT_PS1_SHOWUPSTREAM=t |
|
|
__my_ps1_git(){ |
|
|
__my_ps1_git(){ |
|
|
null type __git_ps1 || return $last |
|
|
null type __git_ps1 || return $last |
|
|
null git rev-parse --git-dir >/dev/null 2>&1 || return $last |
|
|
null git rev-parse --git-dir >/dev/null 2>&1 || return $last |
|
|