zsh-users
 help / color / mirror / code / Atom feed
* How to make gzcat to complete directories?
@ 2001-09-04 13:16 Borsenkow Andrej
  2001-09-04 13:50 ` Oliver Kiddle
  0 siblings, 1 reply; 2+ messages in thread
From: Borsenkow Andrej @ 2001-09-04 13:16 UTC (permalink / raw)
  To: ZSH users mailing list

I must be pretty dumb, but ...

bor@itsrm2% gzcat /u2/pub/gnu/bzip2-0.9.5b.tar.gz         
Completing compressed file
bzip2-0.9.5b.tar.gz    gnuplot-3.7.1.tar.gz   mtools-3.9.6.tar.gz  
uucp-1.06.1.tar.gz                                               

and how do I descend?

-andrej


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to make gzcat to complete directories?
  2001-09-04 13:16 How to make gzcat to complete directories? Borsenkow Andrej
@ 2001-09-04 13:50 ` Oliver Kiddle
  0 siblings, 0 replies; 2+ messages in thread
From: Oliver Kiddle @ 2001-09-04 13:50 UTC (permalink / raw)
  To: Borsenkow Andrej; +Cc: ZSH users mailing list

Borsenkow Andrej wrote:
> 
> I must be pretty dumb, but ...
> 
> bor@itsrm2% gzcat /u2/pub/gnu/bzip2-0.9.5b.tar.gz
> Completing compressed file
> bzip2-0.9.5b.tar.gz    gnuplot-3.7.1.tar.gz   mtools-3.9.6.tar.gz
> uucp-1.06.1.tar.gz
> 
> and how do I descend?

I use this:

zstyle ':completion:*' file-patterns \
    '%p:globbed-files *(-/):directories' '*:all-files'

to get directories with any completion that specified a glob for files.
Is that what you mean? For just gzcat, you'd have to make the context
more specific of course.

Oliver

_____________________________________________________________________
This message has been checked for all known viruses by the 
MessageLabs Virus Scanning Service. For further information visit
http://www.messagelabs.com/stats.asp


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-09-04 13:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-04 13:16 How to make gzcat to complete directories? Borsenkow Andrej
2001-09-04 13:50 ` Oliver Kiddle

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).