git completion/prompt idefix
This commit is contained in:
parent
6c142c090b
commit
22c264376a
8
_bashrc
8
_bashrc
|
@ -146,7 +146,13 @@ PROMPT_COMMAND='__ps1'
|
|||
if [ -e /usr/local/share/git-core/contrib/completion/git-completion.bash ]; then
|
||||
. /usr/local/share/git-core/contrib/completion/git-completion.bash
|
||||
fi
|
||||
if [ -e /usr/local/share/git-core/contrib/completion/git-prompt.sh ] || [ -e /usr/lib/git-core/git-sh-prompt ]; then
|
||||
if [ -e $HOME/.git-completion.bash ]; then
|
||||
. $HOME/.git-completion.bash
|
||||
fi
|
||||
if [ -e $HOME/bin/git-prompt.sh ] || [ -e /usr/local/share/git-core/contrib/completion/git-prompt.sh ] || [ -e /usr/lib/git-core/git-sh-prompt ]; then
|
||||
if [ -e $HOME/bin/git-prompt.sh ]; then
|
||||
. $HOME/bin/git-prompt.sh
|
||||
fi
|
||||
if [ -e /usr/lib/git-core/git-sh-prompt ]; then
|
||||
. /usr/lib/git-core/git-sh-prompt
|
||||
fi
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue