浏览代码

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


正在加载...
取消
保存