Custom themes should be loaded *after* the base theme.
parent
b2b629eb1f
commit
7483c6dac3
24
bash_it.sh
24
bash_it.sh
|
|
@ -4,19 +4,6 @@
|
||||||
# Reload Library
|
# Reload Library
|
||||||
alias reload='source ~/.bash_profile'
|
alias reload='source ~/.bash_profile'
|
||||||
|
|
||||||
# Load the framework
|
|
||||||
|
|
||||||
# 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
|
# Load enabled aliases, completion, plugins
|
||||||
for file_type in "aliases" "completion" "plugins"
|
for file_type in "aliases" "completion" "plugins"
|
||||||
do
|
do
|
||||||
|
|
@ -44,6 +31,17 @@ do
|
||||||
source $config_file
|
source $config_file
|
||||||
done
|
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
|
||||||
|
[ -z "$BASH_IT" ] && export BASH_IT=$HOME/.bash_it
|
||||||
|
LIB="${BASH_IT}/lib/*.bash"
|
||||||
|
for config_file in $LIB
|
||||||
|
do
|
||||||
|
source $config_file
|
||||||
|
done
|
||||||
|
|
||||||
unset config_file
|
unset config_file
|
||||||
if [[ $PROMPT ]]; then
|
if [[ $PROMPT ]]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue