From 8e0b66899dc1fcc818c45f925a14fea36cd5e279 Mon Sep 17 00:00:00 2001 From: Noorul Islam K M Date: Mon, 22 Aug 2011 12:35:00 +0530 Subject: [PATCH] Do not break out of the loop instead continue with other items in the list. --- bash_it.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash_it.sh b/bash_it.sh index c7cbaa7..fd7b546 100644 --- a/bash_it.sh +++ b/bash_it.sh @@ -22,7 +22,7 @@ for file_type in "aliases" "completion" "plugins" do if [ ! -d "${BASH}/${file_type}/enabled" ] then - break + continue fi FILES="${BASH}/${file_type}/enabled/*.bash" for config_file in $FILES -- 2.17.1