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:
4898fa9
)
Initialize enabled directory if it doesn't exist
author
Mark Szymanski
<mrman208@me.com>
Fri, 27 May 2011 16:53:54 +0000
(11:53 -0500)
committer
Mark Szymanski
<mrman208@me.com>
Fri, 27 May 2011 16:53:54 +0000
(11:53 -0500)
This is to make bash_it work in a new install after
the plugins/enabled directory was ignored
bash_it.sh
patch
|
blob
|
history
diff --git
a/bash_it.sh
b/bash_it.sh
index
e0cc579
..
b3cdb73
100644
(file)
--- a/
bash_it.sh
+++ b/
bash_it.sh
@@
-25,6
+25,11
@@
do
done
# Plugins
+if [ ! -d "plugins/enabled" ]
+then
+ mkdir "${BASH}/plugins/enabled"
+ ln -s ${BASH}/plugins/available/* "${BASH}/plugins/enabled"
+fi
PLUGINS="${BASH}/plugins/enabled/*.bash"
for config_file in $PLUGINS
do