Skip to content

excid3/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Dotfiles

Just Chris Oliver's dotfiles. You can copy these in and everything is ready for the races.

Installation

  1. Clone this repo

    mkdir -p ~/code && cd ~/code && git clone https://github.com/excid3/dotfiles.git
    
  2. Install Homebrew

    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    
  3. 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
    
  4. Install Oh-My-ZSH

    sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
    
  5. Install Janus for Vim

    curl -L https://bit.ly/janus-bootstrap | bash
    
  6. 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
    
  7. Open iTerm and import color scheme from iterm folder

  8. 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"
    

Other tips

Here are some other useful commands I like to use:

Pretty git lg

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 GPG Keys

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

About

My personal dotfiles for macOS: zsh, MacVim, iterm, and more.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published