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"
|
||||
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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue