aboutsummaryrefslogtreecommitdiffstats
path: root/macos/shell.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xmacos/shell.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/macos/shell.sh b/macos/shell.sh
new file mode 100755
index 0000000..116f907
--- /dev/null
+++ b/macos/shell.sh
@@ -0,0 +1,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"
+