Loading Homebrew Bash Completion if installed

In addition to the regular /etc/bash_completion, the one from Homebrew
is loaded when running on OS X, and when Homebrew is installed.

Also added the system completion to the default install options, since
this is a feature that's requested frequently.
This commit is contained in:
Nils Winkler
2016-01-05 07:31:09 +01:00
parent 718e594442
commit 38bd3a3b99
2 changed files with 13 additions and 1 deletions

View File

@@ -89,6 +89,7 @@ else
echo ""
echo -e "\033[0;32mEnabling sane defaults\033[0m"
load_one completion bash-it.completion.bash
load_one completion system.completion.bash
load_one plugins base.plugin.bash
load_one plugins alias-completion.plugin.bash
load_one aliases general.aliases.bash