Browse files

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

  • Loading branch information...
1 parent 404f509 commit 576fcb6c6fd526e625cc183d468d001972fb0918 @tswicegood tswicegood committed Apr 30, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 install.sh
  2. 0 plugins/available/{xterm.plugins.bash → _xterm.plugins.bash}
View
4 install.sh
@@ -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
View
0 plugins/available/xterm.plugins.bash → plugins/available/_xterm.plugins.bash
File renamed without changes.

0 comments on commit 576fcb6

Please sign in to comment.