From a72bbeda6b86471feafc6a10a94c0c564e7334eb Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Thu, 16 Apr 2020 22:33:34 +0200 Subject: [PATCH] Don't set MANPATH All of this looks very obsolete, so I guess it's better to just rely on man defaults. --- .zshenv | 28 ---------------------------- 1 file changed, 28 deletions(-) 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