using hash instead of which to see if we have a command
Merge pull request #135 from shatterednirvana/use-hash-instead-of-which

using hash instead of which to see if we have a command