Skip to content

Instantly share code, notes, and snippets.

@sskirby
Created May 7, 2012 20:47
Show Gist options
  • Save sskirby/2630307 to your computer and use it in GitHub Desktop.
Save sskirby/2630307 to your computer and use it in GitHub Desktop.
.zshrc
# Path to your oh-my-zsh configuration.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="bira"
# Set to this to use case-sensitive completion
# CASE_SENSITIVE="true"
# Comment this out to disable weekly auto-update checks
# DISABLE_AUTO_UPDATE="true"
# Uncomment following line if you want to disable colors in ls
# DISABLE_LS_COLORS="true"
# Uncomment following line if you want to disable autosetting terminal title.
# DISABLE_AUTO_TITLE="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(git rvm)
source $ZSH/oh-my-zsh.sh
unsetopt correct_all
# Customize to your needs...
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
# speed up testing!
export RUBY_HEAP_MIN_SLOTS=500000
export RUBY_HEAP_SLOTS_INCREMENT=250000
export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1
export RUBY_GC_MALLOC_LIMIT=60000000
# export RUBY_HEAP_FREE_MIN=500000
muirrine_box_errors_can_go_right_to_hell()
{
gvim $1 $2 $3 $4 $5 2> /dev/null
}
alias gvim='muirrine_box_errors_can_go_right_to_hell'
alias gl="git log --no-merges --graph --pretty=format:'%Cred%h%Creset - %C(green)%aN%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative --since='7 days ago'"
alias gitk='gitk --all&'
alias gitx='gitx --all'
export PATH=$HOME/scripts:$PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment