This is how I setup an OSX machine for devlopment. This is mainly a reminder for myself.
Instal Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install git
brew install fish
brew install macvim
brew install vifm
brew install gnu-sed
brew install gnupg
brew install yarn
brew install fzf
brew install fd
brew install diff-so-fancy
brew install visual-studio-code
brew install --cask caffeine
Volta.sh
curl https://get.volta.sh | bash
source ~/.config/fish/config.fish
volta install node
volta intall yarn
echo $(which fish) | sudo tee -a /etc/shells && chsh -s $(which fish)
Install Fisher
curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher
oh-my-fish
curl https://raw.githubusercontent.com/oh-my-fish/oh-my-fish/master/bin/install | fish
theme
omf install bobthefish
fisher install PatrickF1/fzf.fish
Install Source Code Pro font for Powerline like a pro
brew tap homebrew/cask-fonts
brew install font-source-code-pro-for-powerline
brew install qlcolorcode qlstephen qlmarkdown quicklook-json qlimagesize suspicious-package apparency quicklookase qlvideo
ssh-keygen -t rsa -b 4096 -C "[email protected]"
cat ~/.ssh/id_rsa.pub | pbcopy
Add it here
$ curl -L https://bit.ly/janus-bootstrap | bash
git config --global diff.colorMoved zebra
git config --global diff.noprefix true
git config --global --add remote.origin.fetch "+refs/pull/*/head:refs/remotes/origin/pr/*"
git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX"
A better git l
git config --global alias.l "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"