Fix custom commands loading

This commit is contained in:
3wc 2020-12-17 13:38:30 +02:00
parent 0d202eedfc
commit 63c982c550

7
abra
View File

@ -343,6 +343,13 @@ load_custom_commands() {
source abra-commands.sh source abra-commands.sh
fi fi
if [ -n "$abra__domain_" ]; then
load_instance
load_instance_env
require_app_clone "$APP"
fi
if [ -f "$APP_DIR/abra-commands.sh" ]; then if [ -f "$APP_DIR/abra-commands.sh" ]; then
# shellcheck disable=SC1090,SC1091 # shellcheck disable=SC1090,SC1091
source "$APP_DIR/abra-commands.sh" source "$APP_DIR/abra-commands.sh"