Skip to content

Commit d3cfb86

Browse files
committed
lib/preexec: rename vendor/init.d/preexec.bash
1 parent 86c1e3c commit d3cfb86

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
@@ -48,15 +48,6 @@ for _bash_it_config_file in $LIB; do
4848
fi
4949
done
5050

51-
# Load vendors
52-
BASH_IT_LOG_PREFIX="vendor: "
53-
for _bash_it_vendor_init in "${BASH_IT}"/vendor/init.d/*.bash; do
54-
_log_debug "Loading \"$(basename "${_bash_it_vendor_init}" .bash)\"..."
55-
# shellcheck disable=SC1090
56-
source "${_bash_it_vendor_init}"
57-
done
58-
unset _bash_it_vendor_init
59-
6051
BASH_IT_LOG_PREFIX="core: main: "
6152
# Load the global "enabled" directory
6253
# "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
@@ -78,6 +78,7 @@ completion/available/vuejs.completion.bash
7878
completion/available/wpscan.completion.bash
7979

8080
# libraries
81+
lib/preexec.bash
8182
lib/utilities.bash
8283

8384
# plugins
@@ -157,4 +158,3 @@ themes/purity
157158
# vendor init files
158159
#
159160
vendor/.gitattributes
160-
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)