[bugfix][wip] Fixed issue with Debian's bash-completion

This commit is contained in:
Christophe Aguettaz
2018-11-23 22:25:14 +01:00
parent c84e3e5f85
commit 1ba023c97a
2 changed files with 30 additions and 17 deletions

View File

@@ -43,9 +43,17 @@ _load_global_bash_it_files
# Load enabled aliases, completion, plugins
for file_type in "aliases" "plugins" "completion"
do
_load_bash_it_files $file_type
_bash_it_list_bash_it_files_return=()
_list_bash_it_files $file_type
for config_file in "${_bash_it_list_bash_it_files_return[@]}" ; do
. "$config_file"
done
done
unset _bash_it_list_bash_it_files_return
unset _bash_it_config_file
# Load theme, if a theme was set
if [[ ! -z "${BASH_IT_THEME}" ]]; then
# Load colors and helpers first so they can be used in base theme