abra-commands.sh → abra.sh

This commit is contained in:
3wc 2021-01-24 18:48:24 +02:00
parent 9a630a0440
commit cef06a82a6

12
abra
View File

@ -402,10 +402,10 @@ fi
###### Run-time loading ###### Run-time loading
load_custom_commands() { load_custom_commands() {
if [ -f abra-commands.sh ]; then if [ -f abra.sh ]; then
# shellcheck disable=SC1091 # shellcheck disable=SC1091
source abra-commands.sh source abra.sh
info "Loading custom commands from abra-commands.sh" info "Loading custom commands from abra.sh"
fi fi
if [ -n "$abra__app_" ]; then if [ -n "$abra__app_" ]; then
@ -414,10 +414,10 @@ load_custom_commands() {
require_app_latest "$TYPE" require_app_latest "$TYPE"
fi fi
if [ -f "$APP_DIR/abra-commands.sh" ]; then if [ -f "$APP_DIR/abra.sh" ]; then
info "Loading custom commands from $APP_DIR/abra-commands.sh" info "Loading custom commands from $APP_DIR/abra.sh"
# shellcheck disable=SC1090,SC1091 # shellcheck disable=SC1090,SC1091
source "$APP_DIR/abra-commands.sh" source "$APP_DIR/abra.sh"
fi fi
} }