From eea11d1d9802e8c573c8d1d06907d16dd13c45a6 Mon Sep 17 00:00:00 2001 From: Ira Abramov Date: Wed, 13 Nov 2024 13:32:25 +0200 Subject: [PATCH] Revert "Revert "bash_it: source reloader.bash without arguments for the default enabling"" --- bash_it.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bash_it.sh b/bash_it.sh index f3d9c2e978..ddc02b708f 100755 --- a/bash_it.sh +++ b/bash_it.sh @@ -38,7 +38,8 @@ done # "_bash_it_main_file_type" param is empty so that files get sourced in glob order for _bash_it_main_file_type in "" "aliases" "plugins" "completion"; do BASH_IT_LOG_PREFIX="core: reloader: " - source "${BASH_IT}/scripts/reloader.bash" "${_bash_it_main_file_type:+skip}" "$_bash_it_main_file_type" + # shellcheck disable=SC2140 + source "${BASH_IT}/scripts/reloader.bash" ${_bash_it_main_file_type:+"skip" "$_bash_it_main_file_type"} BASH_IT_LOG_PREFIX="core: main: " done