Use `hash` instead of `command -v`.