Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Create plugins/enabled directory if it doesn't already exist #193

Merged
merged 1 commit into from

2 participants

Dave Paroulek Travis Swicegood
Dave Paroulek
  • This fixes a bug I saw after installing bash-it on Mac OS X 10.6.8. During bash-it installation I chose not to install any plugins. After install, when bash-it enable plugin foo was complaining that the enabled directory did not exist.
Dave Paroulek upgradingdave Create plugins/enabled directory if it doesn't already exist
- This fixes a bug I saw after installing bash-it on Mac OS X 10.6.8.
  During bash-it installation I chose not to install any plugins. After
  install, when `bash-it enable plugin foo` was complaining that the
  enabled directory did not exist.
75dbdaf
Travis Swicegood
Collaborator

Thanks!

Travis Swicegood tswicegood merged commit eb40413 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 25, 2013
  1. Dave Paroulek

    Create plugins/enabled directory if it doesn't already exist

    upgradingdave authored
    - This fixes a bug I saw after installing bash-it on Mac OS X 10.6.8.
      During bash-it installation I chose not to install any plugins. After
      install, when `bash-it enable plugin foo` was complaining that the
      enabled directory did not exist.
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/helpers.bash
2  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
Something went wrong with that request. Please try again.