diff options
Diffstat (limited to '')
| -rwxr-xr-x | init.sh | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -0,0 +1,19 @@ +#!/bin/sh +set -o errexit +set -o nounset + +SCRIPT_DIR="$(realpath "$(dirname "$0")")" + +main() { + "$SCRIPT_DIR/scripts/link.sh" + "$SCRIPT_DIR/scripts/vim.sh" + + if [ "$(uname)" = 'Darwin' ]; then + (cd "$SCRIPT_DIR/macos" && brew bundle) + if echo "$SHELL" | grep -qv oksh; then + "$SCRIPT_DIR/macos/shell.sh" + fi + fi +} + +main "$@" |