From 62a7773bad24d33e940d79a0c59056e3ece84ba8 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 30 Jun 2011 18:04:46 -0400 Subject: [PATCH] add default LESSOPEN for other dumb distros Signed-off-by: Mike Frysinger --- .profile.d/base.sh | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.5