- Install Dash via brew:
brew install dash
/usr/local/binis at the top of the list.
ln -sf dash /usr/local/bin/sh
- Start your scripts with
- It is portable: your scripts will be run by Dash on OS X and Debian-based systems like Ubuntu (of course, the scripts themselves have to conform to POSIX).
- It doesn't break OS X and apps that require
/bin/shto be Bash.
- Dash is rad.