-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·51 lines (41 loc) · 1.16 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
#!/bin/bash
set -e
git submodule update
if [ ! -d /Library/Developer/CommandLineTools ]; then
echo "⏱ Installing command line tools"
xcode-select --install
sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /
fi
echo -e "⏱ Installing Homebrew packages"
brew install coreutils gnupg
brew install \
alfred \
awscli \
direnv \
findutils \
gnu-tar \
insomnia \
iterm2 \
htop \
jetbrains-toolbox \
pstree \
rectangle \
spotify \
tree \
visual-studio-code \
whatsapp
brew install --cask \
docker
if ! ls -l ~/Library/Fonts | grep -i powerline > /dev/null; then
echo "⏱ Installing Powerline Fonts"
[ ! -d /tmp/powerline-fonts ] && git clone https://github.com/powerline/fonts.git --depth=1 /tmp/powerline-fonts
/tmp/powerline-fonts/install.sh
fi
echo "⏱ Installing zsh"
chsh -s /bin/zsh
curl -LSs git.io/antigen > ~/.antigen.zsh
echo "⏱ Configuring iTerm"
defaults write com.googlecode.iterm2.plist PrefsCustomFolder -string "$PWD/iterm2"
defaults write com.googlecode.iterm2.plist LoadPrefsFromCustomFolder -bool true
echo "⏱ Installing dotfiles"
./scripts/dotfiles.sh