Sfoglia il codice sorgente

shrc: Export GIT_PS1_* variables

undefined
10sr 9 anni fa
parent
commit
857564285d
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      shrc

+ 2
- 2
shrc Vedi 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


Caricamento…
Annulla
Salva