-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
executable file
·113 lines (96 loc) · 2.57 KB
/
install.sh
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
echo "Installing .dotfiles"
echo "---"
# Install PHP
echo "==> Installing PHP.new (PHP, Laravel, Composer)..."
/bin/bash -c "$(curl -fsSL https://php.new/install/mac)"
# Install Homebrew packages
echo "==> Installing homebrew packages..."
brew install starship nvim lnav fzf zoxide dust eza neofetch starship nano nanorc btop tmuxinator
# ZSH / Starship
echo "==> Linking ZSH..."
ln -s /Volumes/Superhero/DotFiles ~/.dotfiles
rm ~/.config/aliases
rm ~/.zshrc
ln -s ~/.dotfiles/aliases ~/.config/aliases
ln -s ~/.dotfiles/zsh/zshrc ~/.zshrc
ln -s ~/.dotfiles/starship/starship.toml ~/.config/starship.toml
# Composer
echo "==> Linking Composer..."
rm ~/.config/composer
ln -s ~/.dotfiles/composer ~/.config/composer
# Git
echo "==> Linking Git..."
rm ~/.gitconfig
rm ~/.gitignore
ln -s ~/.dotfiles/git/config ~/.gitconfig
ln -s ~/.dotfiles/git/ignore ~/.gitignore
# Nano
echo "==> Linking Nano..."
rm ~/.config/nano
ln -s ~/.dotfiles/nano ~/.config/nano
# Btop
echo "==> Linking btop..."
rm ~/.config/btop
ln -s ~/.dotfiles/btop ~/.config/btop
# Neofetch
echo "==> Linking neofetch..."
rm ~/.config/neofetch
ln -s ~/.dotfiles/neofetch ~/.config/neofetch
# Ghostty
echo "==> Linking Ghostty"
rm ~/.config/ghostty
ln -s ~/.dotfiles/ghostty ~/.config/ghostty
# Composer
echo "==> Linking wezterm..."
rm ~/.config/wezterm
ln -s ~/.dotfiles/wezterm ~/.config/wezterm
# NeoVim
echo "==> Linking NeoVim"
rm ~/.config/nvim
ln -s ~/.dotfiles/nvim ~/.config/nvim
# TMUX
echo "==> Linking TMUX"
ln -s ~/.dotfiles/tmux/tmux.conf ~/.config/tmux/tmux.conf
# TMUXinator
echo "==> Linking TMUXinator"
rm ~/.config/tmuxinator
ln -s ~/.dotfiles/tmuxinator ~/.config/tmuxinator
# Code
echo "==> Linking Code"
ln -s /Volumes/Superhero/Code ~/Code
# Install apps
echo "==> Installing apps..."
apps=(
alt-tab
charmstone
dbngin
dockey
dropbox
ghostty
github
google-chrome
google-drive
herd
hyperkey
iina
jordanbaird-ice
pika
raycast
rocket
setapp
skype
slack
stats
viber
zen-browser
)
brew install "${apps[@]}" --cask
# Windsurf
echo "==> Linking Windsurf"
rm ~/Library/Application\ Support/Windsurf/User/settings.json
rm ~/Library/Application\ Support/Windsurf/User/keybindings.json
rm -rf ~/Library/Application\ Support/Windsurf/User/snippets
ln -s ~/.dotfiles/windsurf/settings.json ~/Library/Application\ Support/Windsurf/User/settings.json
ln -s ~/.dotfiles/windsurf/keybindings.json ~/Library/Application\ Support/Windsurf/User/keybindings.json
ln -s ~/.dotfiles/windsurf/snippets ~/Library/Application\ Support/Windsurf/User/snippets
echo "Done."