Hacker News new | ask | show | jobs
by edflsafoiewq 641 days ago
Yeah, but you could at least elif is mac then ... else unsupported end.
1 comments

If you look at the next couple of lines of the code, it emits a warning if neither command is found, but carries on. Running without in this case works but it's not optimal, as described in the warning message.