Blob Blame History Raw
#
# /etc/zshenv is sourced on all invocations of the
# shell, unless the -f option is set.  It should
# contain commands to set the command search path,
# plus other important environment variables.
# .zshenv should not contain commands that product
# output or assume the shell is attached to a tty.
#

export X11HOME=/usr/X11R6

if [ `id -u` -eq 0 ]; then
  path=(/sbin /usr/sbin)
fi

echo $PATH | /bin/grep -q "\W$X11HOME/bin:" || path=($path $X11HOME/bin)
echo $PATH | /bin/grep -q "\W/bin:" || path=($path /bin)
echo $PATH | /bin/grep -q "\W/usr/bin:" || path=($path /usr/bin)
echo $PATH | /bin/grep -q "\W/usr/local/bin:" || path=($path /usr/local/bin)