From 2d6085b033be1af89526a6c46c47d0dfc853051f Mon Sep 17 00:00:00 2001 From: Travis Swicegood Date: Wed, 5 Dec 2018 21:58:13 -0600 Subject: [PATCH] =?UTF-8?q?Switch=20from=20false=20to=20skip=20=E2=80=93?= =?UTF-8?q?=20I=20think=20that's=20more=20clear?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bash_it.sh | 2 +- scripts/reloader.bash | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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