Skip to content

Commit af9a377

Browse files
committed
lib/preexec: rename vendor/init.d/preexec.bash
1 parent 973a1f9 commit af9a377

File tree

5 files changed

+3
-12
lines changed

5 files changed

+3
-12
lines changed

bash_it.sh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,6 @@ for _bash_it_config_file in $LIB; do
5151
fi
5252
done
5353

54-
# Load vendors
55-
BASH_IT_LOG_PREFIX="vendor: "
56-
for _bash_it_vendor_init in "${BASH_IT}"/vendor/init.d/*.bash; do
57-
_log_debug "Loading \"$(basename "${_bash_it_vendor_init}" .bash)\"..."
58-
# shellcheck disable=SC1090
59-
source "${_bash_it_vendor_init}"
60-
done
61-
unset _bash_it_vendor_init
62-
6354
BASH_IT_LOG_PREFIX="core: main: "
6455
# Load the global "enabled" directory
6556
# "family" param is empty so that files get sources in glob order

clean_files.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ completion/available/wpscan.completion.bash
7979

8080
# libraries
8181
lib/log.bash
82+
lib/preexec.bash
8283
lib/utilities.bash
8384

8485
# plugins
@@ -159,4 +160,3 @@ themes/purity
159160
# vendor init files
160161
#
161162
vendor/.gitattributes
162-
vendor/init.d

vendor/init.d/preexec.bash renamed to lib/preexec.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Disable immediate `$PROMPT_COMMAND` modification
99
__bp_delay_install="delayed"
1010

11-
# shellcheck source-path=SCRIPTDIR/../github.com/rcaloras/bash-preexec
11+
# shellcheck source=SCRIPTDIR/../vendor/github.com/rcaloras/bash-preexec
1212
source "${BASH_IT?}/vendor/github.com/rcaloras/bash-preexec/bash-preexec.sh"
1313

1414
# Block damanaging user's `$HISTCONTROL`

test/plugins/cmd-returned-notify.plugin.bats

100644100755
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
load ../test_helper
44
load ../test_helper_libs
5-
load ../../vendor/init.d/preexec
65

76
load ../../plugins/available/cmd-returned-notify.plugin
87

test/test_helper_libs.bash

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ load "${BASH_IT}/lib/log.bash"
44
load "${BASH_IT}/lib/utilities.bash"
55
load "${BASH_IT}/lib/helpers.bash"
66
load "${BASH_IT}/lib/search.bash"
7+
load "${BASH_IT}/lib/preexec.bash"

0 commit comments

Comments
 (0)