Skip to content

Commit 1c8ad2c

Browse files
authored
Merge pull request #2096 from akinomyoga/plugin-blesh-workaround-reloader-change
bash_it.sh: source `reloader.bash` without arguments for the default enabling
2 parents 187916d + ee85367 commit 1c8ad2c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

bash_it.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ done
3838
# "_bash_it_main_file_type" param is empty so that files get sourced in glob order
3939
for _bash_it_main_file_type in "" "aliases" "plugins" "completion"; do
4040
BASH_IT_LOG_PREFIX="core: reloader: "
41-
source "${BASH_IT}/scripts/reloader.bash" "${_bash_it_main_file_type:+skip}" "$_bash_it_main_file_type"
41+
# shellcheck disable=SC2140
42+
source "${BASH_IT}/scripts/reloader.bash" ${_bash_it_main_file_type:+"skip" "$_bash_it_main_file_type"}
4243
BASH_IT_LOG_PREFIX="core: main: "
4344
done
4445

plugins/available/blesh.plugin.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ fi
1010
_bash_it_ble_path=${XDG_DATA_HOME:-$HOME/.local/share}/blesh/ble.sh
1111
if [[ -f $_bash_it_ble_path ]]; then
1212
# shellcheck disable=1090
13-
source "$_bash_it_ble_path"
13+
source "$_bash_it_ble_path" --attach=prompt
1414
else
1515
_log_error "Could not find ble.sh in $_bash_it_ble_path"
1616
_log_error "Please install using the following command:"

0 commit comments

Comments
 (0)