using bash-it boolean check convention

pull/401/head
Sam Morrison 2015-01-19 13:05:46 +09:00
parent f1f250f7b8
commit bfe25807a7
1 changed files with 1 additions and 1 deletions

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