The line
eval "$(SHELL=/bin/sh lesspipe)"
also works.
Why is this seemingly obvious change taking so long? In case it helps,
here's a patch:
--- /etc/skel/.bashrc 2006-03-22 16:23:19.000000000 -0800
+++ /tmp/etcskel.bashrc 2008-01-11 18:46:01.000000000 -0800
@@ -13,7 +13,7 @@
shopt -s checkwinsize
# make less more friendly for non-text input files, see lesspipe(1)
-[ -x /usr/bin/lesspipe ] && eval "$(lesspipe)"
+[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
--Paul Vojta, [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]