ソースを参照

Add git-prompt candidate for OSX

pull/15/head
10sr 9年前
コミット
58187d1175
1個のファイルの変更7行の追加5行の削除
  1. +7
    -5
      shrc

+ 7
- 5
shrc ファイルの表示

@@ -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


読み込み中…
キャンセル
保存