Merge pull request #850 from metal3d/fix-fedora-completion
Add other bash completion importation for other distribution - closes #849pull/860/head
commit
cd22e5da32
|
|
@ -7,6 +7,12 @@ if [ -f /etc/bash_completion ]; then
|
||||||
. /etc/bash_completion
|
. /etc/bash_completion
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Some distribution makes use of a profile.d script to import completion.
|
||||||
|
if [ -f /etc/profile.d/bash_completion.sh ]; then
|
||||||
|
. /etc/profile.d/bash_completion.sh
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
if [ $(uname) = "Darwin" ] && command -v brew &>/dev/null ; then
|
if [ $(uname) = "Darwin" ] && command -v brew &>/dev/null ; then
|
||||||
BREW_PREFIX=$(brew --prefix)
|
BREW_PREFIX=$(brew --prefix)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue