foo() { return 0 } [[ $(foo $fee) ]] && echo "foo!"