Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
67 lines (49 sloc) 1.93 KB
# == [ .zsh_paths ] ================================================
#
# I keep all my paths and system-specifc variables in here
#
# ================================================================
# Trapeze stuff
# File for environment-specific commands
if [ -f "$HOME/.locals" ]; then
. "$HOME/.locals"
fi
# set PATH so it includes bin folder under hosting
if [ -d "$HOME/hosting/bin" ] ; then
export PATH="$HOME/hosting/bin:$PATH"
fi
export SSHPROXY_USER="tball"
# Include private bin
[[ -d $HOME/bin ]] && export PATH="$HOME/bin:$PATH"
[[ -d $HOME/.bin ]] && export PATH="$HOME/.bin:$PATH"
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
# Python
# ------
# Pythonbrew on OS X
[[ -s $HOME/.pythonbrew/etc/bashrc ]] && source $HOME/.pythonbrew/etc/bashrc
# Source virtualenvwrapper on pythonbrew
if [ -f $PATH_PYTHONBREW_CURRENT/virtualenvwrapper_lazy.sh ]; then
export WORKON_HOME=$HOME/envs
source $PATH_PYTHONBREW_CURRENT/virtualenvwrapper_lazy.sh
fi
# Source virtualenvwrapper on Linux
[[ -f /usr/local/bin/virtualenvwrapper.sh ]] && source /usr/local/bin/virtualenvwrapper.sh
export PYTHONPATH=.:..:../lib
[[ -d /usr/local/lib/python2.7 ]] && export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH
# fer bpython setup
export PYTHONSTARTUP=~/.pythonrc
# node.js
# -------
# OS X via Homebrew
[[ -d /usr/local/lib/node ]] && export NODE_PATH=/usr/local/lib/node:/usr/local/lib/node_modules
# Both systems
export PATH="$HOME/.npm:$PATH"
[[ -d $HOME/local/node ]] && export PATH=$HOME/local/node/bin:$PATH
[[ -d $HOME/local/node ]] && export NODE_PATH=$HOME/local/node:$HOME/local/node/lib/node_modules
# Ruby
# ----
# RVM
[[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm
# grc
# ---
[[ -e `which brew` && -d `brew --prefix grc` ]] && source `brew --prefix grc`/etc/grc.bashrc
Something went wrong with that request. Please try again.