Use hash and type -P