# Only set $BASH_IT if it's not already set
[ -z "$BASH_IT" ] && export BASH_IT=$HOME/.bash_it
+# Load colors first so they can be use in base theme
+source "${BASH_IT}/themes/colors.theme.bash"
+source "${BASH_IT}/themes/base.theme.bash"
+
+# library
+LIB="${BASH_IT}/lib/*.bash"
+for config_file in $LIB
+do
+ source $config_file
+done
+
# Load enabled aliases, completion, plugins
for file_type in "aliases" "completion" "plugins"
do
fi
done
-# Load colors first so they can be use in base theme
-source "${BASH_IT}/themes/colors.theme.bash"
-source "${BASH_IT}/themes/base.theme.bash"
-
-# library
-LIB="${BASH_IT}/lib/*.bash"
-for config_file in $LIB
-do
- source $config_file
-done
-
unset config_file
if [[ $PROMPT ]]; then
export PS1=$PROMPT