$BASH_IT should be conditionally defined before use.
7483c6dac3 moved one line too many.
This commit is contained in:
@@ -4,6 +4,9 @@
|
|||||||
# Reload Library
|
# Reload Library
|
||||||
alias reload='source ~/.bash_profile'
|
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 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
|
||||||
@@ -36,7 +39,6 @@ source "${BASH_IT}/themes/colors.theme.bash"
|
|||||||
source "${BASH_IT}/themes/base.theme.bash"
|
source "${BASH_IT}/themes/base.theme.bash"
|
||||||
|
|
||||||
# library
|
# library
|
||||||
[ -z "$BASH_IT" ] && export BASH_IT=$HOME/.bash_it
|
|
||||||
LIB="${BASH_IT}/lib/*.bash"
|
LIB="${BASH_IT}/lib/*.bash"
|
||||||
for config_file in $LIB
|
for config_file in $LIB
|
||||||
do
|
do
|
||||||
|
|||||||
Reference in New Issue
Block a user