Created
June 23, 2011 16:17
-
-
Save igorgue/1042888 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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. | |
export ZSH_THEME="igorgue" | |
# Set to this to use case-sensitive completion | |
# export CASE_SENSITIVE="true" | |
# Comment this out to disable weekly auto-update checks | |
# export DISABLE_AUTO_UPDATE="true" | |
# Uncomment following line if you want to disable colors in ls | |
# export DISABLE_LS_COLORS="true" | |
# Uncomment following line if you want to disable autosetting terminal title. | |
export 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 lol osx vi-mode brew svn redis-cli pip ruby cap bundler gem npm node rails rails3 pow rvm) | |
source $ZSH/oh-my-zsh.sh | |
# Customize to your needs... | |
export PATH=/usr/local/bin:$HOME/Library/Haskell/bin:/usr/local/Cellar/freetds/0.82:/Library/PostgreSQL/9.0/bin:/Applications/liftweb-1.0.1/apache-maven/bin:/Users/igor/.cabal/bin:/usr/local/share/python:/usr/local/Cellar/python/2.7.1/bin:/usr/local/Cellar/ruby/1.9.2-p180/bin:/usr/local/sbin:/Users/igor/bin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11/bin | |
# homebrew paths | |
export PATH=/usr/local/sbin:/usr/local/bin:$PATH | |
# ruby path | |
export PATH=`brew --prefix ruby`/bin:$PATH | |
export RUBYLIB=./lib:./:$RUBYLIB | |
# python | |
export PYTHONPATH=`brew --prefix python`/lib/python2.7/site-packages | |
export PATH=/usr/local/share/python:`brew --prefix python`/bin:$PATH | |
# virtualenv | |
export WORKON_HOME=$HOME/.virtualenvs | |
source /usr/local/bin/virtualenvwrapper.sh | |
# Grep settings | |
export GREP_OPTIONS="--color" | |
# aliases | |
alias ls="ls -G" | |
alias ll="ls -lG" | |
alias la="ls -la" | |
alias l="ls" | |
alias diff="colordiff -ru" | |
alias moar="more" | |
alias 1saleaday="cd ~/code/1SaleADay" | |
alias sc="./script/console" | |
alias ss="./script/server" | |
alias sdb="./script/dbconsole" | |
# Some shortcuts | |
alias get_petplace_backup="scp -r freshpeppers@petplacedata.com:dump ." | |
alias connect_to_petplacedata="ssh freshpeppers@petplacedata.com" | |
# go stuff | |
export GOROOT=`brew --prefix go` | |
export GOBIN=/usr/local/bin | |
export GOARCH=amd64 | |
export GOOS=darwin | |
# cabal stuff | |
export PATH=$HOME/.cabal/bin:$PATH | |
# TDS | |
export SYBASE=`brew --prefix freetds` | |
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$SYBASE/lib | |
# Haskell stuff | |
export PATH="$HOME/Library/Haskell/bin:$PATH" | |
# Node path | |
export NODE_PATH="/usr/local/lib/node" | |
# RVM XXX Put this at the end | |
[[ -s "/Users/igor/.rvm/scripts/rvm" ]] && source "/Users/igor/.rvm/scripts/rvm" # This loads RVM into a shell session. | |
# adding bin to the PATH | |
export PATH=$HOME/bin:$PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment