From b6d444d0ced08fbb748908fd648c0534ffd57705 Mon Sep 17 00:00:00 2001 From: Travis Swicegood Date: Sat, 29 Oct 2011 18:55:20 -0500 Subject: [PATCH] Move this back to its original location Not sure why this needs to be moved. Feels like it could cause some issues since the values defined in themes aren't available to any of the lib or plugins. --- bash_it.sh | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/bash_it.sh b/bash_it.sh index ee6957b..b2ca7f6 100644 --- a/bash_it.sh +++ b/bash_it.sh @@ -7,6 +7,17 @@ alias reload='source ~/.bash_profile' # 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 @@ -38,17 +49,6 @@ 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 -- 2.17.1