From e05fa477d70a793ec6dd23358ecc8a16ad45126f Mon Sep 17 00:00:00 2001 From: Koichi Murase Date: Sat, 19 Feb 2022 16:33:46 +0900 Subject: [PATCH] bash_it: source reloader.bash without arguments for the default enabling --- bash_it.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash_it.sh b/bash_it.sh index 78d19b87..a1e8cdfd 100755 --- a/bash_it.sh +++ b/bash_it.sh @@ -38,7 +38,7 @@ 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" + source "${BASH_IT}/scripts/reloader.bash" ${_bash_it_main_file_type:+"skip" "$_bash_it_main_file_type"} BASH_IT_LOG_PREFIX="core: main: " done