Switch from false to skip – I think that's more clear
parent
7b32dd6424
commit
2d6085b033
|
|
@ -46,7 +46,7 @@ source "${BASH_IT}/scripts/reloader.bash"
|
||||||
for file_type in "aliases" "plugins" "completion"
|
for file_type in "aliases" "plugins" "completion"
|
||||||
do
|
do
|
||||||
# shellcheck source=./scripts/reloader.bash
|
# shellcheck source=./scripts/reloader.bash
|
||||||
source "${BASH_IT}/scripts/reloader.bash" "false" "$file_type"
|
source "${BASH_IT}/scripts/reloader.bash" "skip" "$file_type"
|
||||||
done
|
done
|
||||||
|
|
||||||
# Load theme, if a theme was set
|
# Load theme, if a theme was set
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ pushd "${BASH_IT}" >/dev/null || exit 1
|
||||||
|
|
||||||
# TODO: Add debugging output
|
# TODO: Add debugging output
|
||||||
|
|
||||||
if [ "$1" != "false" ] && [ -d "./enabled" ]; then
|
if [ "$1" != "skip" ] && [ -d "./enabled" ]; then
|
||||||
_bash_it_config_type=""
|
_bash_it_config_type=""
|
||||||
if [[ "${1}" =~ ^(alias|completion|plugin)$ ]]; then
|
if [[ "${1}" =~ ^(alias|completion|plugin)$ ]]; then
|
||||||
_bash_it_config_type=$1
|
_bash_it_config_type=$1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue