# Sourced by zshrc as well as bash.

umask 027
ulimit -c unlimited

# Paths and preferences
export PYTHONPATH="$HOME/.python:$PYTHONPATH"
export GOPATH="$HOME/Projects/Go"
export PATH="$HOME/bin:/sbin:/usr/sbin:$PATH:$GOPATH/bin"
export VISUAL=vim
export EDITOR=vim
export DEBEMAIL="david@systemoverlord.com"
export DEBFULLNAME="David Tomaschik"
export LESS="-MR"
export QUOTING_STYLE="literal"  # Coreutils quotes

# Fix gnome-terminal
if [[ $TERM == "xterm" && $COLORTERM == "gnome-terminal" ]] ; then
  export TERM="xterm-256color"
fi

# For virtualenvwrapper
export WORKON_HOME=$HOME/.virtualenvs

if [[ -e $HOME/.localenv ]] ; then source $HOME/.localenv ; fi
