load theme _after_ loading any plugins, etc
parent
241c204441
commit
14525efefa
10
bash_it.sh
10
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue