-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathinstall.sh
executable file
·61 lines (43 loc) · 1.41 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
echo "Installing binaries:"
echo "Installing Homebrew"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo "Installing chrome"
brew install --cask google-chrome
echo "Installing Cursor"
brew install --cask cursor
echo "Installing Docker"
brew install --cask docker
echo "Installing Postico"
brew install --cask postico
echo "Installing AWS CLI"
brew install awscli
echo "Installing Terraform"
brew install terraform
echo "Installing ffmpeg"
brew install ffmpeg
echo "Installing Raycast"
brew install --cask raycast
echo "Installing BetterDisplay"
brew install --cask betterdisplay
echo "Installing The Unarchiver"
brew install --cask the-unarchiver
echo "Making Zsh the default shell"
chsh -s $(which zsh)
echo "Installing Oh My Zsh"
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
echo "Installing Powerlevel10k"
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
echo "Symlinking things:"
# Remove original files if they exist
rm -f ~/.gitconfig
rm -f ~/.zshrc
rm -f ~/.p10k.zsh
# Create symlinks
ln -s $(pwd)/.gitconfig ~/.gitconfig
ln -s $(pwd)/.zshrc ~/.zshrc
ln -s $(pwd)/.p10k.zsh ~/.p10k.zsh
echo "Done! But..."
echo "Manually copy these files/directories from the old system (optional):"
echo " - .zsh_history"
echo " - .ssh"
echo " - .aws"