From: Mike Frysinger Date: Thu, 30 Jun 2011 22:04:46 +0000 (-0400) Subject: add default LESSOPEN for other dumb distros X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=62a7773bad24d33e940d79a0c59056e3ece84ba8;p=home.git add default LESSOPEN for other dumb distros Signed-off-by: Mike Frysinger --- diff --git a/.profile.d/base.sh b/.profile.d/base.sh index d487f69..28001f5 100644 --- a/.profile.d/base.sh +++ b/.profile.d/base.sh @@ -1,2 +1,5 @@ export EDITOR=/bin/nano export PAGER=/usr/bin/less +if [ -z "${LESSOPEN}" ] ; then + export LESSOPEN='|lesspipe %s' +fi