Source

shared / .zshenv

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"
#Boost
export BOOST_BUILT_LIBS="/usr/include/boost_1_47_0/stage/lib"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${BOOST_BUILT_LIBS}"

###

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 /vol/ ]] ; then
    hash -d workbench="/vol/workbench"
fi
if [ -d ~/pyproj ] ; then
    export PYTHONPATH="$PYTHONPATH:"$(echo ~/pyproj/*/)
fi

<<<<<<< variant A
>>>>>>> variant B


if [[ -d /var/www ]] ; then
    hash -d www="/var/www"
fi
####### Ancestor
if [[ -d /var/www ]] ; then
    hash -d www="/var/www"
fi
if [[ -d /var/www/test ]] ; then
    hash -d test="/var/www/test"
fi
======= end

<<<<<<< variant A
export PATH="$PATH:$HOME/minizinc-1.5.1/bin"
export MANPATH="$MANPATH:$HOME/minizinc-1.5.1/doc/man"
>>>>>>> variant B
####### Ancestor
if [[ -d /var/www/new ]] ; then
    hash -d new="/var/www/new"
fi
======= end