abra-commands.sh → abra.sh
This commit is contained in:
parent
9a630a0440
commit
cef06a82a6
12
abra
12
abra
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user