1 2 3 4 5 6 7
#!/bin/sh set -o errexit set -o nounset echo "$(brew --prefix)/bin/oksh" | sudo tee -a /etc/shells chsh -s "$(brew --prefix)/bin/oksh"