lib/preexec: rename `vendor/init.d/preexec.bash`

pull/2003/head
John D Pell 2022-01-20 03:45:56 -08:00
parent 2575d64deb
commit 7a0b353cea
5 changed files with 3 additions and 12 deletions

View File

@ -51,15 +51,6 @@ for _bash_it_config_file in $LIB; do
fi fi
done done
# Load vendors
BASH_IT_LOG_PREFIX="vendor: "
for _bash_it_vendor_init in "${BASH_IT}"/vendor/init.d/*.bash; do
_log_debug "Loading \"$(basename "${_bash_it_vendor_init}" .bash)\"..."
# shellcheck disable=SC1090
source "${_bash_it_vendor_init}"
done
unset _bash_it_vendor_init
BASH_IT_LOG_PREFIX="core: main: " BASH_IT_LOG_PREFIX="core: main: "
# Load the global "enabled" directory # Load the global "enabled" directory
# "family" param is empty so that files get sources in glob order # "family" param is empty so that files get sources in glob order

View File

@ -82,6 +82,7 @@ completion/available/wpscan.completion.bash
# libraries # libraries
lib/helpers.bash lib/helpers.bash
lib/log.bash lib/log.bash
lib/preexec.bash
lib/utilities.bash lib/utilities.bash
# plugins # plugins
@ -165,4 +166,3 @@ themes/purity
# vendor init files # vendor init files
# #
vendor/.gitattributes vendor/.gitattributes
vendor/init.d

View File

@ -8,7 +8,7 @@
# Disable immediate `$PROMPT_COMMAND` modification # Disable immediate `$PROMPT_COMMAND` modification
__bp_delay_install="delayed" __bp_delay_install="delayed"
# shellcheck source-path=SCRIPTDIR/../github.com/rcaloras/bash-preexec # shellcheck source-path=SCRIPTDIR/../vendor/github.com/rcaloras/bash-preexec
source "${BASH_IT?}/vendor/github.com/rcaloras/bash-preexec/bash-preexec.sh" source "${BASH_IT?}/vendor/github.com/rcaloras/bash-preexec/bash-preexec.sh"
# Block damanaging user's `$HISTCONTROL` # Block damanaging user's `$HISTCONTROL`

View File

@ -2,7 +2,6 @@
load ../test_helper load ../test_helper
load ../test_helper_libs load ../test_helper_libs
load ../../vendor/init.d/preexec
load ../../plugins/available/cmd-returned-notify.plugin load ../../plugins/available/cmd-returned-notify.plugin

View File

@ -4,3 +4,4 @@ load "${BASH_IT}/lib/log.bash"
load "${BASH_IT}/lib/utilities.bash" load "${BASH_IT}/lib/utilities.bash"
load "${BASH_IT}/lib/helpers.bash" load "${BASH_IT}/lib/helpers.bash"
load "${BASH_IT}/lib/search.bash" load "${BASH_IT}/lib/search.bash"
load "${BASH_IT}/lib/preexec.bash"