Initialize enabled directory if it doesn't exist
This is to make bash_it work in a new install after the plugins/enabled directory was ignoredpull/50/head
parent
4898fa9119
commit
1b268e7c28
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue