Browse Source

shrc: Export GIT_PS1_* variables

undefined
10sr 9 years ago
parent
commit
857564285d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      shrc

+ 2
- 2
shrc View File

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


Loading…
Cancel
Save