Deal with unabound BASH_IT_RELOAD_LEGACY

pull/1903/head
John D Pell 2021-07-25 21:25:45 -07:00
parent bcd67db4ab
commit 5001995e92
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ if [ -e "$HOME/.jekyllconfig" ]; then
fi fi
# BASH_IT_RELOAD_LEGACY is set. # 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 case $OSTYPE in
darwin*) darwin*)
alias reload='source ~/.bash_profile' alias reload='source ~/.bash_profile'