Permalink
Browse files

Ignore files that begin with an underscore (bandaid for #108)

  • Loading branch information...
tswicegood authored and Kevin Qiu committed Apr 30, 2012
1 parent eb2fef6 commit 24431627ab24c1c97bf3fb5796037e198f465e25
Showing with 2 additions and 2 deletions.
  1. +2 −2 install.sh
  2. 0 plugins/available/{xterm.plugins.bash → _xterm.plugins.bash}
View
@@ -43,12 +43,12 @@ done
function load_all() {
file_type=$1
[ ! -d "$BASH_IT/$file_type/enabled" ] && mkdir "$BASH_IT/${file_type}/enabled"
- ln -s $BASH_IT/${file_type}/available/* "${BASH_IT}/${file_type}/enabled"
+ ln -s $BASH_IT/${file_type}/[^_]available/* "${BASH_IT}/${file_type}/enabled"
}
function load_some() {
file_type=$1
- for file in `ls $BASH_IT/${file_type}/available`
+ for file in `ls $BASH_IT/${file_type}/available/[^_]*`
do
if [ ! -d "$BASH_IT/$file_type/enabled" ]
then

0 comments on commit 2443162

Please sign in to comment.