Skip to content

Commit

Permalink
Merge pull request #193 from upgradingdave/small-fix-ensure-enabled-d…
Browse files Browse the repository at this point in the history
…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 eb40413
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/helpers.bash
Expand Up @@ -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

Expand Down

0 comments on commit eb40413

Please sign in to comment.