Code Review
/
common
/
bash_it.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
7483c6d
)
`$BASH_IT` should be conditionally defined before use.
author
John Schulz
<JFSIII@JFSIII.org>
Fri, 28 Oct 2011 23:22:20 +0000
(19:22 -0400)
committer
John Schulz
<JFSIII@JFSIII.org>
Fri, 28 Oct 2011 23:22:20 +0000
(19:22 -0400)
7483c6dac351f836bd574c9cdff4a23df7cd507f
moved one line too many.
bash_it.sh
patch
|
blob
|
history
diff --git
a/bash_it.sh
b/bash_it.sh
index
fd87248
..
64a9523
100644
(file)
--- a/
bash_it.sh
+++ b/
bash_it.sh
@@
-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