config/zshenv in zsh_dots-0.5.1 vs config/zshenv in zsh_dots-0.5.3

- old
+ new

@@ -1,23 +1,30 @@ -# ZSH configuration for all shells. +# 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 -# Set our shell paths to load from all of the bin's on the machine. +# Domain-specific PATHs. +RBPATH=/usr/local/lib/ruby/gems/1.9.1/bin:/usr/local/Cellar/ruby/1.9.3-p327/bin +JSPATH=node_modules/.bin:/usr/local/share/npm/bin +PYPATH=/usr/local/Cellar/python/2.7.1/bin GOPATH=$HOME/Code/Go -PATH=/usr/local/bin:/usr/local/sbin:/usr/local/share/npm/bin:/usr/local/Cellar/python/2.7.1/bin:/usr/local/git/bin:/usr/bin:$HOME/.dots/bin:$HOME/.rvm/bin:$GOPATH:$PATH +PGPATH=/Applications/Postgres.app/Contents/MacOS/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:$PATH + # Text editing and paging EDITOR='vim' PAGER='less -R' -DRAWER=true # use macvim_drawer # A more basic version of my promptstring for non-interactive shells. PROMPT="♬ " # PostgreSQL config @@ -37,24 +44,34 @@ DISABLE_AUTO_TITLE="true" # Display red dots when ZSH is hanging. COMPLETION_WAITING_DOTS="true" -# Load the framework. -source "$ZSH/lib/dots.sh" - # 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' -# Load interactive shell settings -source ~/.zshrc +# 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