diff --git a/.zshenv b/.zshenv index e9bacb1..eab6097 100644 --- a/.zshenv +++ b/.zshenv @@ -69,34 +69,6 @@ then unsetopt NULL_GLOB fi -if [ -r /etc/MANPATH ] -then - MANPATH=`cat /etc/MANPATH`:$MANPATH -else - ALL_PATH=/usr/local/qmail/man:/usr/man:/usr/local/man:/usr/X11R6/man:/usr/share/man:/usr/local/pgsql/man:/var/qmail/man:/usr/local/rrdtool-1.0.35/man - NEW_PATH="" - - for i in ${(s/:/)ALL_PATH} - do - if test -d "$i" - then - case "$NEW_PATH" in - $i:*|*:$i|*:$i:*) ;; - *) - if test -z "$NEW_PATH" - then - NEW_PATH=$i - else - NEW_PATH=$NEW_PATH:$i - fi - esac - fi - done - MANPATH=$NEW_PATH -fi -export MANPATH - - case "`uname -sr`" in Linux*) export LC_COLLATE=POSIX