plugins/base: unbound BASH_IT_LEGACY_PASS

Expressly handle as blank when $BASH_IT_LEGACY_PASS is not set.
pull/1903/head
John D Pell 2021-08-14 20:19:12 -07:00
parent bd9f4015a7
commit cd65e0925f
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ function passgen ()
# Create alias pass to passgen when pass isn't installed or
# BASH_IT_LEGACY_PASS is true.
if ! command -v pass &>/dev/null || [[ "$BASH_IT_LEGACY_PASS" = true ]]
if ! command -v pass &>/dev/null || [[ "${BASH_IT_LEGACY_PASS:-}" = true ]]
then
alias pass=passgen
fi