Do not break out of the loop instead continue with other items in the list.
parent
70e4c1ced0
commit
8e0b66899d
|
|
@ -22,7 +22,7 @@ for file_type in "aliases" "completion" "plugins"
|
||||||
do
|
do
|
||||||
if [ ! -d "${BASH}/${file_type}/enabled" ]
|
if [ ! -d "${BASH}/${file_type}/enabled" ]
|
||||||
then
|
then
|
||||||
break
|
continue
|
||||||
fi
|
fi
|
||||||
FILES="${BASH}/${file_type}/enabled/*.bash"
|
FILES="${BASH}/${file_type}/enabled/*.bash"
|
||||||
for config_file in $FILES
|
for config_file in $FILES
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue