Parcourir la source

Add git-prompt candidate for OSX

pull/15/head
10sr il y a 9 ans
Parent
révision
58187d1175
1 fichiers modifiés avec 7 ajouts et 5 suppressions
  1. +7
    -5
      shrc

+ 7
- 5
shrc Voir le fichier

@@ -1017,11 +1017,13 @@ __my_ps1_moc(){
}

for f in /usr/share/git/git-prompt.sh \
/usr/share/git-core/contrib/completion/git-prompt.sh \
/usr/local/share/git-core/contrib/completion/git-prompt.sh \
/etc/bash_completion.d/git-prompt \
/opt/local/share/git-core/git-prompt.sh \
/opt/local/share/doc/git-core/contrib/completion/git-prompt.sh
/Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-prompt.sh \
/usr/local/opt/bash-git-prompt/share/gitprompt.sh \
/usr/share/git-core/contrib/completion/git-prompt.sh \
/usr/local/share/git-core/contrib/completion/git-prompt.sh \
/etc/bash_completion.d/git-prompt \
/opt/local/share/git-core/git-prompt.sh \
/opt/local/share/doc/git-core/contrib/completion/git-prompt.sh
do
test -r "$f" && ($inbash || $inzsh) && . "$f" && break
done


Chargement…
Annuler
Enregistrer