Aliases are not the same as programs. They won't work in subshells. It's better to just use which as it's only 88K.