From 576fcb6c6fd526e625cc183d468d001972fb0918 Mon Sep 17 00:00:00 2001 From: Travis Swicegood Date: Mon, 30 Apr 2012 11:07:15 -0500 Subject: [PATCH] Ignore files that begin with an underscore (bandaid for #108) --- install.sh | 4 ++-- plugins/available/{xterm.plugins.bash => _xterm.plugins.bash} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename plugins/available/{xterm.plugins.bash => _xterm.plugins.bash} (100%) diff --git a/install.sh b/install.sh index a80a749..92f3d7c 100755 --- a/install.sh +++ b/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 diff --git a/plugins/available/xterm.plugins.bash b/plugins/available/_xterm.plugins.bash similarity index 100% rename from plugins/available/xterm.plugins.bash rename to plugins/available/_xterm.plugins.bash -- 2.17.1