瀏覽代碼

load git-prompt only in bash

pull/1/head
10sr 11 年之前
父節點
當前提交
48328913fc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      shrc

+ 1
- 1
shrc 查看文件

@@ -1021,7 +1021,7 @@ for f in /usr/share/git/git-prompt.sh \
/opt/local/share/git-core/git-prompt.sh \
/opt/local/share/doc/git-core/contrib/completion/git-prompt.sh
do
test -r "$f" && . "$f" && break
test -r "$f" && inbash && . "$f" && break
done
GIT_PS1_SHOWDIRTYSTATE=t
GIT_PS1_SHOWUPSTREAM=t


Loading…
取消
儲存