Permalink
Browse files

Merge pull request #193 from upgradingdave/small-fix-ensure-enabled-d…

…ir-exists

Create plugins/enabled directory if it doesn't already exist
  • Loading branch information...
tswicegood committed Mar 25, 2013
2 parents 743be0c + 75dbdaf commit eb404130a97c249c33b042b5613755f30507a346
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/helpers.bash
View
@@ -277,6 +277,8 @@ _enable-thing ()
return
fi
+ mkdir -p $BASH_IT/$subdirectory/enabled
+
ln -s $BASH_IT/$subdirectory/available/$plugin $BASH_IT/$subdirectory/enabled/$plugin
fi

0 comments on commit eb40413

Please sign in to comment.