Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completing for a marvelous lesspipe ?
- X-seq: zsh-workers 13393
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: completing for a marvelous lesspipe ?
- Date: Fri, 26 Jan 2001 15:39:26 +0000
- In-reply-to: Your message of "Fri, 26 Jan 2001 15:50:36 +0100." <20010126155036.E400@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
> Hi fellows!
>
> The other day i bought one of our german speaking LinuxMags
> (LinuxMagazin) with
> one article about the following lesspipe ( a filter mechanism for
> less, the pager):
> You can download it here:
> http://www-zeuthen.desy.de/~friebel/unix/lesspipe.html
Wolfgang Friebel was also a zsh fan when I was in Zeuthen --- if he wrote
the article you might persuade him to do one about zsh.
> The beauty of this lesspipe is that it can show the contents of
> deb,rpm zip,tar.gz and tar.bz2 files and some more.
>
> Now it would be still more useful if such a mighty
> completion-system -as zsh has - would complete files after
> the colon in e.g. compressed files
I don't know what relevance `after the colon' has for zsh, but the new
completion system already has this sort of thing built in by default. Try
completing after `tar xvzf archive.tar.gz ' and you will get the contents,
presented using something very like the standard file-choosing interface.
Did you have something more in mind?
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author