Remove buggy line in install.sh causing "all" option to break
authorChris Causer <c.causer1@physics.ox.ac.uk>
Tue, 31 Jul 2012 10:09:10 +0000 (11:09 +0100)
committerChris Causer <c.causer1@physics.ox.ac.uk>
Tue, 31 Jul 2012 10:09:10 +0000 (11:09 +0100)
commit980bd9ea78227fb1b756220f6cfbada0539dccb8
treeaa5c01da22865fdabc79897342197cc35f94f446
parente1da40a47510c37f688572bfbaf01fe26ae36189
Remove buggy line in install.sh causing "all" option to break

When selecting all, I get the following in my plugins/enabled directory

$ cd ~/.bash_it/plugins/enabled && ls -l
<snip fileinfo>          * -> ~/.bash_it/plugins/[^_]available/*

In other words, the regexp is not being expanded, and I don't think bash
has ever had this capability (I am running 4.2.24) . Looking at the commit
24431627ab24c1c97bf3fb5796037e198f465e25, this line was added so as to disable
some plugins starting with a "_". In this circumstance, this line is
wrong anyway as it skips the directory "_available", rather than
available/_whatever.

This commit aims to fix this to the installer's intended purpose.
It also does a sanity check that no file exists already in enabled and
skips otherwise. ln -s does the right thing however more human error
message might be more desirable.
install.sh