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 ignored
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user