Ensure configuration consistency run in the very beginning and do not process empty apps and plugins.
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
# Load enabled apps.
|
||||
for app in ${ENABLED_APPS[@]}; do
|
||||
if [ "${app}" = "" ]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
if [ ! -f "${CONFIG_PATH}/zsh/apps/${app}.app.zsh" ]; then
|
||||
error 0 "Application '${app}' doesn't exist"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user