Just Chris Oliver's dotfiles. You can copy these in and everything is ready for the races.
-
Clone this repo
mkdir -p ~/code && cd ~/code && git clone https://github.com/excid3/dotfiles.git
-
Install Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
Install MacVim, rbenv, ruby-build, and more
brew install macvim rbenv ruby-build postgresql elasticsearch redis zsh brew install Caskroom/cask/iterm2 brew install Caskroom/cask/google-chrome
-
Install Oh-My-ZSH
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
-
Install Janus for Vim
curl -L https://bit.ly/janus-bootstrap | bash
-
Symlink configs
ln -s ~/code/dotfiles/zsh/themes/excid3.zsh-theme ~/.oh-my-zsh/themes/excid3.zsh-theme ln -s ~/code/dotfiles/zsh/zshrc ~/.zshrc ln -s ~/code/dotfiles/vim/vimrc ~/.vimrc ln -s ~/code/dotfiles/psqlrc ~/.psqlrc ln -s ~/code/dotfiles/gemrc ~/.gemrc vim +PluginInstall +qall
-
Open iTerm and import color scheme from iterm folder
-
diff-so-fancy
brew install diff-so-fancy git config --global color.ui true git config --global color.diff-highlight.oldNormal "red bold" git config --global color.diff-highlight.oldHighlight "red bold 52" git config --global color.diff-highlight.newNormal "green bold" git config --global color.diff-highlight.newHighlight "green bold 22" git config --global color.diff.meta "yellow" git config --global color.diff.frag "magenta bold" git config --global color.diff.commit "yellow bold" git config --global color.diff.old "red bold" git config --global color.diff.new "green bold" git config --global color.diff.whitespace "red reverse"
Here are some other useful commands I like to use:
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --"
Import your GPG keys using https://www.phildev.net/pgp/gpg_moving_keys.html
Then sign all commits with the key:
git config --global commit.gpgsign true