Browse Source

load git-prompt only in bash

pull/1/head
10sr 11 years ago
parent
commit
48328913fc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      shrc

+ 1
- 1
shrc View File

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


Loading…
Cancel
Save