# Master configuration for all shells. # # Environment variable definitions go here, but that's about it. All # other definitions go into zshrc or lib/plugins. # Set the path to our shell configuration. ZSH=$HOME/.dots DOTS=$ZSH # Domain-specific PATHs. RBPATH=/usr/local/lib/ruby/gems/1.9.1/bin:/usr/local/Cellar/ruby/1.9.3-p362/bin JSPATH=node_modules/.bin:/usr/local/share/npm/bin PYPATH=/usr/local/Cellar/python/2.7.3/bin:/usr/local/share/python GOPATH=$HOME/Code/Go PGPATH=/Applications/Postgres.app/Contents/MacOS/bin MLPATH=/usr/local/Cellar/smlnj/110.75/libexec/bin MANPATH=/opt/local/share/man:$MANPATH HEROKU_PATH="/usr/local/heroku/bin" CPATH=/usr/local/bin:/usr/local/sbin:/usr/local/git/bin:/usr/bin:$HOME/bin # Global PATH, the variable that really matters PATH=$PGPATH:$RBPATH:$CPATH:$PYPATH:$MLPATH:$PATH # Text editing and paging EDITOR='vim' PAGER='less -R' # Email reading MAIL=/var/mail/$USER # A more basic version of my promptstring for non-interactive shells. PROMPT="♬ " # PostgreSQL config ARCHFLAGS='-arch x86_64' PGDATA=/usr/local/var/postgres # Configure the MySQL prompt to show more information. MYSQL_PS1="\R:\m:\s \h> " # Define the C compiler as GCC 4.2 CC=/usr/local/bin/gcc-4.2 # Disable weekly automatic update. DISABLE_AUTO_UPDATE="true" # Don't set iTerm/Terminal's title automatically. DISABLE_AUTO_TITLE="true" # Display red dots when ZSH is hanging. COMPLETION_WAITING_DOTS="true" # Make Ruby even faster RUBY_HEAP_MIN_SLOTS=1000000 RUBY_HEAP_SLOTS_INCREMENT=1000000 RUBY_HEAP_SLOTS_GROWTH_FACTOR=1 RUBY_GC_MALLOC_LIMIT=1000000000 RUBY_HEAP_FREE_MIN=500000 # Always use Bundler with RVM. USE_BUNDLER=force # Set this to a different Git remote to pull updates from there. # NOTE: You will have to manage updating from upstream yourself. DOTS_REMOTE='origin' # Colorize Grep export GREP_OPTIONS='--color=auto' export GREP_COLOR='1;32' # Use the Turn testing engine on eLocal export USE_TURN=true # Load Java from OS X export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home/ # Start rbenv if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi # Load the framework. . $ZSH/lib/dots.sh