Do not break out of the loop instead continue with other items in the list.
parent
775723fe8b
commit
6ba3e08b7d
|
|
@ -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