Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: I can't explain the following




On Wed, Apr 27, 2022 at 10:59 AM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
You could stop setting LESSOPEN.  I long ago decided the "convenience"
of having gzip files etc. automatically unpacked was not worth the
other side-effects.

Bye LESSOPEN
If I need to look at "gzip ... etc" files, I can use an alias:

alias lessopen=$'\n(){\n  export LESSOPEN="|lesspipe %s"\n  less $*\n}'

Again, thanks,

Jim


Messages sorted by: Reverse Date, Date, Thread, Author