Re: Changelog files
On Fri, 5 Dec 1997, Hamish Moffatt wrote:
> On Wed, Dec 03, 1997 at 12:30:26AM +0100, Juan Cespedes wrote:
> >
> > Are you sure it's quicker to do `ls' first to know how that
> > changelog is named, and after `less', that to always do `zless'?
>
> You can use zless on non-compressed files, and you can use filename
> completion to get the filename. Or you can configure your lesspipe
> script to automatically decompress files.
You don't even need to make a lesspipe script yourself. The default script
is quite good. You only have to do something like
LESSOPEN='|/usr/bin/lesspipe %s'
export LESSOPEN
somewhere in your .bash_profile or in /etc/profile (or in whatever file is
appropriate if you don't use bash).
Remco
Reply to: