Switch from false to skip – I think that's more clear

pull/1283/head
Travis Swicegood 2018-12-05 21:58:13 -06:00
parent 7b32dd6424
commit 2d6085b033
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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