-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbootstrap-mac.sh
executable file
·86 lines (76 loc) · 1.44 KB
/
bootstrap-mac.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
#!/bin/bash
# Manually install certain tools
[ ! -d /opt/homebrew ] && \
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
[ ! -d $HOME/.oh-my-zsh ] && \
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
if ! command -v fnm &> /dev/null
then
curl -fsSL https://fnm.vercel.app/install | bash
fi
[ ! -f $HOME/.vim/autoload/plug.vim ] && \
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# Configure Brew taps
brew tap homebrew/cask-versions
brew tap homebrew/cask-fonts
brew tap d12frosted/emacs-plus
# Install various cli tools
while IFS= read -r app || [[ -n "$app" ]]; do
brew install $app
done <<EOF
asciinema
cmake
coreutils
direnv
difftastic
emacs-plus
fd
ffmpeg
fzf
gh
git-lfs
graphviz
grep
heroku
imagemagick
ispell
jq
librsvg
libtool
neovim
pandoc
pup
pyenv
ripgrep
shellcheck
sqlite
stow
tmux
wakatime-cli
EOF
# Install Brew Cask apps
while IFS= read -r app || [[ -n "$app" ]]; do
brew install --cask $app
done <<EOF
alfred
cloudapp
docker
syncthing
font-jetbrains-mono
font-fira-sans
font-fira-code
amethyst
1password
firefox-developer-edition
firefox brave-browser
inkscape
gimp
vlc
obs
parallels
visual-studio-code
EOF
# Link apps to play nice with Apple's default location.
[ ! -d /Applications/Emacs.app ] && \
ln -s /opt/homebrew/opt/emacs-plus@28/Emacs.app /Applications