Switched loading of single components to existing functions
parent
402179d87d
commit
3ecf684eb6
15
install.sh
15
install.sh
|
|
@ -150,6 +150,11 @@ elif [[ $silent ]] && ! [[ $no_modify_config ]]; then
|
||||||
backup_new
|
backup_new
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Load dependencies for enabling components
|
||||||
|
source "$BASH_IT/lib/composure.bash"
|
||||||
|
cite _about _param _example _group _author _version
|
||||||
|
source "$BASH_IT/lib/helpers.bash"
|
||||||
|
|
||||||
if [[ $interactive ]] && ! [[ $silent ]] ;
|
if [[ $interactive ]] && ! [[ $silent ]] ;
|
||||||
then
|
then
|
||||||
for type in "aliases" "plugins" "completion"
|
for type in "aliases" "plugins" "completion"
|
||||||
|
|
@ -160,11 +165,11 @@ then
|
||||||
else
|
else
|
||||||
echo ""
|
echo ""
|
||||||
echo -e "\033[0;32mEnabling sane defaults\033[0m"
|
echo -e "\033[0;32mEnabling sane defaults\033[0m"
|
||||||
load_one completion bash-it.completion.bash
|
_enable-completion bash-it
|
||||||
load_one completion system.completion.bash
|
_enable-completion system
|
||||||
load_one plugins base.plugin.bash
|
_enable-plugin base
|
||||||
load_one plugins alias-completion.plugin.bash
|
_enable-plugin alias-completion
|
||||||
load_one aliases general.aliases.bash
|
_enable-alias general
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue