From 5001995e92d78cc29c580d9f7e1ad5dad2dd0071 Mon Sep 17 00:00:00 2001 From: John D Pell Date: Sun, 25 Jul 2021 21:25:45 -0700 Subject: [PATCH] Deal with unabound BASH_IT_RELOAD_LEGACY --- bash_it.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash_it.sh b/bash_it.sh index cb504202..12893990 100755 --- a/bash_it.sh +++ b/bash_it.sh @@ -144,7 +144,7 @@ if [ -e "$HOME/.jekyllconfig" ]; then fi # BASH_IT_RELOAD_LEGACY is set. -if ! command -v reload &> /dev/null && [ -n "$BASH_IT_RELOAD_LEGACY" ]; then +if ! command -v reload &> /dev/null && [ -n "${BASH_IT_RELOAD_LEGACY:-}" ]; then case $OSTYPE in darwin*) alias reload='source ~/.bash_profile'