瀏覽代碼

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


Loading…
取消
儲存