Move auto-complete code over to available -> enabled style
This continues the move toward the ability to turn things off with everything turned on by default.
This commit is contained in:
9
completion/available/brew.completion.bash
Normal file
9
completion/available/brew.completion.bash
Normal file
@@ -0,0 +1,9 @@
|
||||
if which brew >/dev/null 2>&1; then
|
||||
if [ -f `brew --prefix`/etc/bash_completion ]; then
|
||||
. `brew --prefix`/etc/bash_completion
|
||||
fi
|
||||
|
||||
if [ -f `brew --prefix`/Library/Contributions/brew_bash_completion.sh ]; then
|
||||
. `brew --prefix`/Library/Contributions/brew_bash_completion.sh
|
||||
fi
|
||||
fi
|
||||
Reference in New Issue
Block a user