Ignore files that begin with an underscore (bandaid for #108)
authorTravis Swicegood <development@domain51.com>
Mon, 30 Apr 2012 16:07:15 +0000 (11:07 -0500)
committerTravis Swicegood <development@domain51.com>
Mon, 30 Apr 2012 16:07:15 +0000 (11:07 -0500)
install.sh
plugins/available/_xterm.plugins.bash [moved from plugins/available/xterm.plugins.bash with 100% similarity]

index a80a749..92f3d7c 100755 (executable)
@@ -31,12 +31,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