From a2d82721a075e81c829008cb41b881f78435ec91 Mon Sep 17 00:00:00 2001 From: hjp Date: Thu, 22 Feb 1996 13:09:47 +0000 Subject: [PATCH] Fixed PAGER env. variable to contain absolute PATH for PATH-challenged accounts. --- .zshenv | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.zshenv b/.zshenv index da4c405..6fea9f7 100644 --- a/.zshenv +++ b/.zshenv @@ -68,6 +68,12 @@ then # I do it ONLY on HP-UX export TZ=MEZ-1MESZ fi -export PAGER=less +if [ -x /usr/bin/less ] +then + export PAGER=/usr/bin/less +elif [ -x /usr/local/bin/less ] +then + export PAGER=/usr/local/bin/less +elif export XAUTHORITY=$HOME/.Xauthority export CVSROOT=/nfs/wsrdb/usr/local/src/master