Below is the file '.zshenv' from this revision. You can also download the file.

#
# .zshenv - always read by zsh when it starts
#

if [[ -x "$HOME/.zshfunctions" ]]; then
    source ~/.zshfunctions
else
    echo "warning: .zshfunctions not found or not executable."
fi

if [[ -x "$HOME/.zshsync" ]]; then
    source ~/.zshsync
else
    echo "warning: .zshsync not found or not executable."
fi


# we want the path to only contain unique entries
typeset -U path
# set the path used when searching for binaries
path=()
append_if_dir PATH "$HOME/root/alternatives/$(uname -s 2>/dev/null)"
append_if_dir PATH "$HOME/root/bin"
append_if_dir PATH "$HOME/bin"
append_if_dir PATH "/usr/bsd"
append_if_dir PATH "/usr/ucb"
append_if_dir PATH "/opt/csw/bin"
append_if_dir PATH "/opt/csw/sbin"
append_if_dir PATH "$HOME/root/alternatives"
append_if_dir PATH "/usr/local/bin"
append_if_dir PATH "/usr/local/sbin"
append_if_dir PATH "/usr/ccs/bin"
append_if_dir PATH "/usr/games"
append_if_dir PATH "/usr/bin"
append_if_dir PATH "/usr/sbin"
append_if_dir PATH "/bin"
append_if_dir PATH "/sbin"
append_if_dir PATH "/usr/bin/X11"
append_if_dir PATH "/usr/X11R6/bin"
append_if_dir PATH "/usr/lib/postgresql/bin"
append_if_dir PATH "/usr/freeware/bin"
append_if_dir PATH "/usr/openwin/bin"
append_if_dir PATH "/usr/dt/bin"
append_if_dir PATH "$HOME/root/wrappers"
export PATH

# make sure our TERMINFO variable is optimal
# (esp on Solaris boxes)
append_if_dir TERMINFO "/usr/local/share/terminfo"

typeset -U machines
machines=(
    'billy.angrygoats.net'
)

# for tab-completed hostnames on network commands
typeset -U hosts
hosts=(
    'cook.theducks.org'
    'gyges.ucs.uwa.edu.au'
    'madako.ucc.gu.uwa.edu.au'
    'morwong.ucc.gu.uwa.edu.au'
    'mussel.ucc.gu.uwa.edu.au'
    'manbo.ucc.gu.uwa.edu.au'
    'martello.ucc.gu.uwa.edu.au'
    'arctic.ucc.gu.uwa.edu.au'
    'mojarra.ucc.gu.uwa.edu.au'
    'mooneye.ucc.gu.uwa.edu.au'
)
hosts=($ucshosts $nethosts $hosts $machines)

# place that temporary files can be created securely
#if [ -d "$HOME/tmp" ]
#then
#    export TMPDIR="$HOME/tmp"
#fi

# to run on starting up python
export PYTHONSTARTUP="$HOME/.pyrc"

if [ -e "$HOME/.use=agent" -a -r "$HOME/.main-agent" ]
then
source $HOME/.main-agent > /dev/null
fi

# set our EDITOR variable to a nice vi, if we can
if [[ -x `which vim 2>/dev/null` ]]; then
	export EDITOR="vim";
else
	if [[ -x `which vi 2>/dev/null` ]]; then export EDITOR="vi"; fi
fi

# for MacOS X
if [ -r /sw/bin/init.sh ]
then
    source /sw/bin/init.sh
fi

# various options about saving history
export HISTFILE="$HOME/.zshhistory"
export HISTSIZE=500
export SAVEHIST=500

# watch login/logout events
watch=(all)

# source local definitions
if [ -r "$HOME/.zshlocal" ]; then
	source "$HOME/.zshlocal"
fi