Do not break out of the loop instead continue with other items in the list.
authorNoorul Islam K M <noorul@noorul.com>
Mon, 22 Aug 2011 07:05:00 +0000 (12:35 +0530)
committerTravis Swicegood <development@domain51.com>
Mon, 22 Aug 2011 14:26:26 +0000 (09:26 -0500)
bash_it.sh

index c7cbaa7..fd7b546 100644 (file)
@@ -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