Skip to content

Instantly share code, notes, and snippets.

@JobV
Last active December 23, 2015 02:18
Show Gist options
  • Save JobV/6565539 to your computer and use it in GitHub Desktop.
Save JobV/6565539 to your computer and use it in GitHub Desktop.
zshrc
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
ZSH_THEME="job"
alias cl="clear"
# Git fresh master
alias gfm="git stash; git checkout master; git pull; git stash pop"
alias gs="git status"
alias gss="git status -sb"
alias gco="git checkout"
alias gci="git commit -m"
alias gp="git pull origin master"
alias gdf="git diff --color=always"
alias gaa="git add --all"
alias gll="git log --color --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
alias be="bundle exec"
alias rs="bundle exec rspec spec/"
# Rake db:migrate
alias rdm="rake db:migrate && rake db:migrate RAILS_ENV=test"
DISABLE_CORRECTION="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(git)
source $ZSH/oh-my-zsh.sh
# Customize to your needs...
export PATH=$PATH:/opt/local/bin:/opt/local/sbin:/usr/local/rvm/gems/ruby-1.9.3-p392/bin:/usr/local/rvm/gems/ruby-1.9.3-p392@global/bin:/usr/local/rvm/rubies/ruby-1.9.3-p392/bin:/usr/local/rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/git/bin:/opt/sm/bin:/opt/sm/pkg/active/bin:/opt/sm/pkg/active/sbin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment