]> git.wh0rd.org Git - home.git/commitdiff
add default LESSOPEN for other dumb distros
authorMike Frysinger <vapier@gentoo.org>
Thu, 30 Jun 2011 22:04:46 +0000 (18:04 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 28 Apr 2012 19:36:38 +0000 (15:36 -0400)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
.profile.d/base.sh

index d487f6989ffb46e4eae084a26723b80be9165b37..28001f58a8ddfe50cfc9ed7211a14978e7f92ba4 100644 (file)
@@ -1,2 +1,5 @@
 export EDITOR=/bin/nano
 export PAGER=/usr/bin/less
+if [ -z "${LESSOPEN}" ] ; then
+       export LESSOPEN='|lesspipe %s'
+fi