Add bash-completion for linux

This commit is contained in:
2022-06-07 00:37:35 +02:00
parent e2d4bf4fbb
commit a843042589

View File

@@ -11,6 +11,8 @@ export BASH_SILENCE_DEPRECATION_WARNING=1
[ -s /usr/share/bash-completion/completions/git ] && . /usr/share/bash-completion/completions/git [ -s /usr/share/bash-completion/completions/git ] && . /usr/share/bash-completion/completions/git
which brew &>/dev/null && [ -s $(brew --prefix)/etc/bash_completion ] && . $(brew --prefix)/etc/bash_completion which brew &>/dev/null && [ -s $(brew --prefix)/etc/bash_completion ] && . $(brew --prefix)/etc/bash_completion
[ -s /etc/bash_completion ] && . /etc/bash_completion
# debian, ubuntu and so on # debian, ubuntu and so on
GIT_PROMPT_SH=/usr/lib/git-core/git-sh-prompt GIT_PROMPT_SH=/usr/lib/git-core/git-sh-prompt