cvsdist abdd31
#
cvsdist abdd31
# /etc/zshenv is sourced on all invocations of the
cvsdist abdd31
# shell, unless the -f option is set.  It should
cvsdist abdd31
# contain commands to set the command search path,
cvsdist abdd31
# plus other important environment variables.
cvsdist abdd31
# .zshenv should not contain commands that product
cvsdist abdd31
# output or assume the shell is attached to a tty.
cvsdist abdd31
#
cvsdist abdd31
cvsdist abdd31
export X11HOME=/usr/X11R6
cvsdist abdd31
cvsdist abdd31
if [ `id -u` -eq 0 ]; then
cvsdist abdd31
  path=(/sbin /usr/sbin)
cvsdist abdd31
fi
cvsdist abdd31
cvsdist abdd31
echo $PATH | /bin/grep -q "\W$X11HOME/bin:" || path=($path $X11HOME/bin)
cvsdist abdd31
echo $PATH | /bin/grep -q "\W/bin:" || path=($path /bin)
cvsdist abdd31
echo $PATH | /bin/grep -q "\W/usr/bin:" || path=($path /usr/bin)
cvsdist abdd31
echo $PATH | /bin/grep -q "\W/usr/local/bin:" || path=($path /usr/local/bin)