These are my dotfiles. Currently just checking in the files directly in my home directory using the strategy defined here: https://developer.atlassian.com/blog/2016/02/best-way-to-store-dotfiles-git-bare-repo/.
To install on a new machine do:
-
Set up github ssh access (create new key, add to github)
-
Set up the alias for 'config' in the current shell scope
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
-
Clone the repo:
git clone --bare <git-repo-url> $HOME/.cfg
-
Checkout the dotfiles
config checkout
-
Homebrew packages (includes casks)
brew bundle
-
Fonts
brew tap caskroom/fonts
brew cask install font-fira-code
-
Install NVM from here: https://github.com/creationix/nvm
-
Install oh-my-zsh from here: https://github.com/robbyrussell/oh-my-zsh
-
Install vim-plug from here: https://github.com/junegunn/vim-plug
-
Install all vim plugins
# Inside vim
:PlugInstall
-
Install tmux plugin manager from here https://github.com/tmux-plugins/tpm
-
Inside tmux, do:
ctrl-a I
to install plugins