git completion/prompt idefix

This commit is contained in:
Meutel 2017-09-10 11:24:47 +02:00
parent 6c142c090b
commit 22c264376a
2 changed files with 3324 additions and 1 deletions

View File

@ -146,7 +146,13 @@ PROMPT_COMMAND='__ps1'
if [ -e /usr/local/share/git-core/contrib/completion/git-completion.bash ]; then if [ -e /usr/local/share/git-core/contrib/completion/git-completion.bash ]; then
. /usr/local/share/git-core/contrib/completion/git-completion.bash . /usr/local/share/git-core/contrib/completion/git-completion.bash
fi 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 if [ -e /usr/lib/git-core/git-sh-prompt ]; then
. /usr/lib/git-core/git-sh-prompt . /usr/lib/git-core/git-sh-prompt
fi fi

File diff suppressed because it is too large Load Diff