From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 802 invoked from network); 26 Jan 2001 15:29:20 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 26 Jan 2001 15:29:20 -0000 Received: (qmail 15192 invoked by alias); 26 Jan 2001 15:29:02 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3598 Received: (qmail 15181 invoked from network); 26 Jan 2001 15:29:01 -0000 Date: Fri, 26 Jan 2001 15:50:36 +0100 From: Matthias Kopfermann To: zsh mailinglist Subject: completing for a marvelous lesspipe ? Message-ID: <20010126155036.E400@linux-ws.kg-hittfeld.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i 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 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 (lesspipe can only handle one argument so the author had to put the other arguments after a seperator , a colon here) and do some smart completing with other cases. Are there even smarter lesspipes? Any ideas about a clever completion for less with that lesspipe.sh as filter ? Matthias