-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
stow-setup
executable file
·33 lines (29 loc) · 899 Bytes
/
stow-setup
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/env bash
OS=$(uname -s)
case "$OS" in
"Darwin")
cp ./overrides/mac/.iterm2_shell_integration.fish ./iterm2/.iterm2_shell_integration.fish
/opt/homebrew/bin/stow -vt ~ yabai
;;
*)
echo "Unable to determine OS. Setup iTerm2 manually."
;;
esac
/opt/homebrew/bin/stow -vt ~ aliases
/opt/homebrew/bin/stow -vt ~ fish
/opt/homebrew/bin/stow -vt ~ gh
/opt/homebrew/bin/stow -vt ~ git
/opt/homebrew/bin/stow -vt ~ hammerspoon
/opt/homebrew/bin/stow -vt ~ karabiner
/opt/homebrew/bin/stow -vt ~ kitty
/opt/homebrew/bin/stow -vt ~ nvim
/opt/homebrew/bin/stow -vt ~ ssh
/opt/homebrew/bin/stow -vt ~ tmux
/opt/homebrew/bin/stow -vt ~ vscode
/opt/homebrew/bin/stow -vt ~ i3
/opt/homebrew/bin/stow -vt ~ zsh
cp git/hooks/post-commit .git/hooks/
# Remove the hooks directory that is stowed
rm ./iterm2/.iterm2_shell_integration.fish
cd ~
rm -rf hooks