mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-11 10:49:51 +00:00
@fcrozat's original fix assumes `which` not to output anything to STDOUT in case the command is not found. That is not necessarily true on all systems. A better solution is to check the return value instead. Fixes #4376