mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-09-20 01:36:15 +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