mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-11-05 05:41:16 +08: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