Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: which: command not found



On Fri, 12 Dec 2025 17:12:55 -0500
"Mark J. Reed" <markjreed@xxxxxxxxx> wrote:

> I guess a consistent cross-shell approach here would be to use `type`,
> check the return code, and extract the pathname from the end of the message
> on success.

what about `command -v foo`?




Messages sorted by: Reverse Date, Date, Thread, Author