#-------------------------------------------------------------------------- # stuff that must be loaded first #-------------------------------------------------------------------------- # path (note that there is NO dot directory appended!) # ...to add to front: for dir in ~/bin ~/www/bin /usr/local/bin /usr/local/sbin; do if [ -d $dir -a -z ${path[(r)$dir]} ]; then path=($dir $path); fi done # ...to add to back: for dir in /usr/X11R6/bin /usr/local/mysql/bin /usr/sbin /usr/bin /sbin /bin; do if [ -d $dir -a -z ${path[(r)$dir]} ]; then path=($path $dir); fi done