-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
executable file
·69 lines (51 loc) · 1.52 KB
/
setup.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
brew install asdf
brew install wget
brew install nvim
# for managing symlinks
brew install stow
brew install tmux
# view folder tree
brew install tree
# search tools
brew install ag
brew install ripgrep
brew install fd
# git hooks
brew install lefthook
# ZSH Theme
brew install powerlevel10k
# install postgres tools (psql)
brew install libpq
# might as well have python
asdf plugin-add python
asdf install python 3.12.1
# might as well have nodejs
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
asdf install nodejs 20.11.0
asdf global nodejs 20.11.0
# install Elixir/Erlang
brew install autoconf
asdf plugin add erlang https://github.com/asdf-vm/asdf-erlang.git
asdf install erlang 25.3.2.13
asdf plugin-add elixir
asdf install elixir 1.15.4-otp-25
stow --override=git git
stow --override=tmux tmux
# Vim classic (I've moved to NeoVim, but this is still here because why not)
stow --override=vim vim
# install astrovim
git clone --depth 1 https://github.com/AstroNvim/AstroNvim ~/.config/nvim
# link the astrovim custom config
ln -s ~/dotfiles/astrovim_v4 ~/.config/nvim
# ZSH
rm ~/.zshrc
stow --override=zsh zsh
# https://github.com/cormacrelf/dark-notify/
brew install cormacrelf/tap/dark-notify
mkdir -p ~/Library/Application\ Support/iTerm2/Scripts/AutoLaunch
cp auto_switch_theme.py ~/Library/Application\ Support/iTerm2/Scripts/AutoLaunch/
# install nerd fonts
brew tap homebrew/cask-fonts
brew install font-hack-nerd-font
# enable holding letter keys to repeat
defaults write -g ApplePressAndHoldEnabled -bool false