diff --git a/bash_it.sh b/bash_it.sh index 1b092cc9..ab911019 100755 --- a/bash_it.sh +++ b/bash_it.sh @@ -46,7 +46,7 @@ source "${BASH_IT}/scripts/reloader.bash" for file_type in "aliases" "plugins" "completion" do # shellcheck source=./scripts/reloader.bash - source "${BASH_IT}/scripts/reloader.bash" "false" "$file_type" + source "${BASH_IT}/scripts/reloader.bash" "skip" "$file_type" done # Load theme, if a theme was set diff --git a/scripts/reloader.bash b/scripts/reloader.bash index c26d3626..b0fe7e41 100644 --- a/scripts/reloader.bash +++ b/scripts/reloader.bash @@ -3,7 +3,7 @@ pushd "${BASH_IT}" >/dev/null || exit 1 # TODO: Add debugging output -if [ "$1" != "false" ] && [ -d "./enabled" ]; then +if [ "$1" != "skip" ] && [ -d "./enabled" ]; then _bash_it_config_type="" if [[ "${1}" =~ ^(alias|completion|plugin)$ ]]; then _bash_it_config_type=$1