-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.sh
46 lines (35 loc) · 1.33 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
############
# HOMEBREW #
############
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install git
#########
# FONTS #
#########
brew tap homebrew/cask-fonts
brew install --cask font-fira-code font-dejavu-sans-mono-for-powerline
################
# CORE EDITING #
################
brew install nvim
brew install --cask iterm2 google-chrome spotify slack rectangle visual-studio-code jetbrains-toolbox
defaults write -g ApplePressAndHoldEnabled -bool false
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
nvim +PlugClean +PlugInstall +qa
#######
# CLI #
#######
brew install nvim
brew install fd exa ccat prettyping ncdu ripgrep
brew install pandoc gitless wget ranger screenfetch tmux lnav q jq fx gron trash tig m-cli entr fpp fzf fzy tokei httpie pup loc telnet diff-so-fancy htop ncdu bat prettyping shellcheck mosh googler up hadolint noti bsed lazydocker thefuck
#########
# SHELL #
#########
git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
chsh -s /bin/zsh
# Reboot shell
setopt EXTENDED_GLOB
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
done