Skip to content

tristen/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

Fresh start checklist

The folowing steps assumes you are starting from scratch.

  • Install brew and the following:
brew install hub node cask google-chrome 1password iterm2 nvalt spotify backblaze licecap dropbox slack the_silver_searcher macvim figma itsycal nvim zsh the-archive
  • Install Node Version Manager
  • Install ohmyzsh
  • Remap CapsLock to ESC from System preferences > Keyboard > Modifier Keys....
  • Set the following git globals (replacing my credentials with your own):
git config --global user.name 'tristen'
git config --global user.email 'tristen.brown@gmail.com'
git config --global push.default simple
git config --global help.autocorrect 1
git config --global core.excludesfile ~/.gitignore_global
git config --global color.ui true
git config --global alias.up 'pull --rebase --autostash'
git config --global init.defaultBranch main
git config --global alias.track '!git branch --set-upstream-to=origin/`git symbolic-ref --short HEAD`'
git config --global rerere.enabled true
  • Generate a new SSH keypair (replacing my email with your own):
ssh-keygen -t rsa -b 4096 -C "tristen.brown@gmail.com"
pbcopy < ~/.ssh/id_rsa.pub
cd ~/ && git clone --recurse-submodules git@github.com:tristen/dotfiles.git
  • Create the following directories:
mkdir ~/.vim/swap ~/dev ~/dev/github ~/dev/mapbox
  • Run bootstrap.sh
./dotfiles/bootstrap.sh
  • Log in to npm:
npm adduser
:PlugInstall

Updating

git pull
git submodule foreach 'git pull origin HEAD'
./bootstrap.sh