Skip to content

Commit

Permalink
Revert "Revert "bash_it: source reloader.bash without arguments for t…
Browse files Browse the repository at this point in the history
…he default enabling""
  • Loading branch information
seefood authored Nov 13, 2024
1 parent 8afb3a0 commit eea11d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bash_it.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit eea11d1

Please sign in to comment.