aboutsummaryrefslogtreecommitdiffstats
path: root/macos/shell.sh
blob: 116f9074a0098fbe065175bc5e25d174c6a008b1 (plain) (blame)
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"