abra-commands.sh → abra.sh

This commit is contained in:
3wc 2021-01-24 18:48:24 +02:00
parent 9a630a0440
commit cef06a82a6
1 changed files with 6 additions and 6 deletions

12
abra
View File

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