* Re: Completion for gzcat does not descend directories
@ 2000-06-30 11:36 Sven Wischnowsky
2000-06-30 11:45 ` Andrej Borsenkow
0 siblings, 1 reply; 3+ messages in thread
From: Sven Wischnowsky @ 2000-06-30 11:36 UTC (permalink / raw)
To: zsh-workers
Andrej Borsenkow wrote:
> As in subject. ^Xh lists all three standard tags, but if any *.gz file
> is foundm directories are not listed.
>
> I'd expect it to suggest both files and directories.
You should tell it, then. From the docs:
zstyle ':completion:*:gzcat:*' file-patterns \
'%p:globbed-files *(-/):directories' '*:all-files'
Or use _next_tags.
Bye
Sven
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Completion for gzcat does not descend directories
2000-06-30 11:36 Completion for gzcat does not descend directories Sven Wischnowsky
@ 2000-06-30 11:45 ` Andrej Borsenkow
0 siblings, 0 replies; 3+ messages in thread
From: Andrej Borsenkow @ 2000-06-30 11:45 UTC (permalink / raw)
To: Sven Wischnowsky, zsh-workers
>
> Andrej Borsenkow wrote:
>
> > As in subject. ^Xh lists all three standard tags, but if
> any *.gz file
> > is foundm directories are not listed.
> >
> > I'd expect it to suggest both files and directories.
>
> You should tell it, then. From the docs:
>
> zstyle ':completion:*:gzcat:*' file-patterns \
> '%p:globbed-files *(-/):directories' '*:all-files'
>
> Or use _next_tags.
>
The actual question is - why it does not do it by default? Well, I
vaguelly remember some discussion on this - but I hopelessly missed it.
IMHO by default file completion should complete directories unless told
otherweise.
-andrej
^ permalink raw reply [flat|nested] 3+ messages in thread
* Completion for gzcat does not descend directories
@ 2000-06-30 11:06 Andrej Borsenkow
0 siblings, 0 replies; 3+ messages in thread
From: Andrej Borsenkow @ 2000-06-30 11:06 UTC (permalink / raw)
To: ZSH workers mailing list
As in subject. ^Xh lists all three standard tags, but if any *.gz file
is foundm directories are not listed.
I'd expect it to suggest both files and directories.
-andrej
Have a nice DOS!
B >>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-06-30 11:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-30 11:36 Completion for gzcat does not descend directories Sven Wischnowsky
2000-06-30 11:45 ` Andrej Borsenkow
-- strict thread matches above, loose matches on Subject: below --
2000-06-30 11:06 Andrej Borsenkow
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).