Source

shared / .zshenv

Full commit
export BROWSER=~/bin/browser
export EDITOR=visit
export VISUAL=visit

export _JAVA_AWT_WM_NONREPARENTING=1

###Workbench stuff
export GUROBI_HOME="/opt/gurobi400/linux64"
export PATH="${PATH}:${GUROBI_HOME}/bin"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${GUROBI_HOME}/lib"
###

if [[ -n "$DISPLAY" ]]; then
    XDIMS=($(xdpyinfo -display $DISPLAY | grep dimensions | sed 's/^[^0-9]*\([0-9]*\)x\([0-9]*\)\s*pixels.*/\1 \2/'))
fi

CLIENT_RETRY_DELAY='0.1'
typeset -A host_colours
host_colours=(
    vimes                      green
    main                       red
    testing                    yellow
    tobyodavies-biarri-laptop  green
)

host_colour=${host_colours[$HOST]-"cyan"};

export EMAIL='Toby Davies <tobyodavies@gmail.com>'

lf="${$(print "_\n_")[2]}"
cr="${$(print "_\r_")[2]}"
crlf="$cr$lf"

if [ -d ~/py-src ] ; then
    export PYTHONPATH="$PYTHONPATH:"$(echo ~/py-src/)
fi

if [ -d ~/pyproj ] ; then
    export PYTHONPATH="$PYTHONPATH:"$(echo ~/pyproj/*/)
fi



if [[ -d /var/www ]] ; then
    hash -d www="/var/www"
fi