[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /usr/share/doc/ files and gzip/xz/no compression



On Tue, Aug 16, 2011 at 11:50:49AM +0200, Luca Capello wrote:
> On Tue, 16 Aug 2011 10:08:45 +0200, Alexander Reichle-Schmehl wrote:
> > FWIW, if you the following in your bashrc:
> >
> > if [ -f /usr/bin/lesspipe ]; then
> 
> I would use the -x expression instead ;-)
> 
> And I would also say that this test should be included in the
> lesspipe(1) manpage...

/etc/skel/.profile has it, commented out:

# make less more friendly for non-text input files, see lesspipe(1)
#[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"

-- 
1KB		// Yo momma uses IPv4!

Attachment: signature.asc
Description: Digital signature


Reply to: