diff --git a/bash_it.sh b/bash_it.sh index 21445034..9d877dd2 100755 --- a/bash_it.sh +++ b/bash_it.sh @@ -38,11 +38,14 @@ cite _about _param _example _group _author _version source "${BASH_IT}/themes/colors.theme.bash" source "${BASH_IT}/themes/base.theme.bash" -# library +# libraries, but skip appearance (themes) for now LIB="${BASH_IT}/lib/*.bash" +APPEARANCE_LIB="${BASH_IT}/lib/appearance.bash" for config_file in $LIB do - source $config_file + if [ $config_file != $APPEARANCE_LIB ]; then + source $config_file + fi done # Load enabled aliases, completion, plugins @@ -51,6 +54,9 @@ do _load_bash_it_files $file_type done +# appearance (themes) now, after all dependencies +source $APPEARANCE_LIB + # Load custom aliases, completion, plugins for file_type in "aliases" "completion" "plugins" do