Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

`$BASH_IT` should be conditionally defined before use.

7483c6d moved one line too many.
  • Loading branch information...
commit e3194237e905f80231873fd6b1b778b11409055c 1 parent 7483c6d
John Schulz jfsiii authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 bash_it.sh
4 bash_it.sh
View
@@ -4,6 +4,9 @@
# Reload Library
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
for file_type in "aliases" "completion" "plugins"
do
@@ -36,7 +39,6 @@ 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
Please sign in to comment.
Something went wrong with that request. Please try again.