using bash-it boolean check convention

This commit is contained in:
Sam Morrison
2015-01-19 13:05:46 +09:00
parent f1f250f7b8
commit bfe25807a7

View File

@@ -55,7 +55,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" == 1 ]
if ! command -v pass &>/dev/null || [ "$BASH_IT_LEGACY_PASS" = true ]
then
alias pass=passgen
fi