3 ms·
Read my comment on macOS please - it explicitly is about dealing with Linux people who write scripts assuming new versions of Bash. Now if Linux used zsh then
by pasc1878 3y ago
Read my comment on macOS please - it explicitly is about dealing with Linux people who write scripts assuming new versions of Bash.
Now if Linux used zsh then your comment is valid.
Bash shell scripts do not necessarily run in zsh.
Most Windows users do not install git. iPhones don't have a shell.
- aragilar 3y agoAssuming `/bin/sh` is bash is going to break on a whole bunch of systems (not just MacOS), and zsh implements POSIX. Also, this is for bun, so I'd be concerned that you're missing git on Windows.