Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: _files vs _path_files discussion (old thread)
- X-seq: zsh-workers 10081
- From: Adam Spiers <adam@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: _files vs _path_files discussion (old thread)
- Date: Sun, 12 Mar 2000 00:51:27 +0000
- In-reply-to: <1000312001854.ZM26814@xxxxxxxxxxxxxxxxxxxxxxx>; from schaefer@xxxxxxxxxxxxxxxxxxxxxxx on Sun, Mar 12, 2000 at 12:18:53AM +0000
- Mail-followup-to: zsh-workers@xxxxxxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <199909170728.JAA01949@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20000311222225.A27795@xxxxxxxxxxxxxxxxxxxxxxx> <1000312001854.ZM26814@xxxxxxxxxxxxxxxxxxxxxxx>
- Reply-to: Adam Spiers <adam@xxxxxxxxxx>
Bart Schaefer (schaefer@xxxxxxxxxxxxxxxxxxxxxxx) wrote:
> On Mar 11, 10:22pm, Adam Spiers wrote:
> } Subject: Re: _files vs _path_files discussion (old thread)
> }
> } > > A second issue is whether, if you find target files in the current
> } > > directory, you might still want to complete directories.
> }
> } Does the new zstyle stuff now provide some kind of configurability to
> } solve this issue?
>
> Yes, it's the tag-order style.
Ah, so I was right after all.
> By putting all the tags in the same argument, they're all treated as
> equal for purposes of completions. You could also do
>
> zstyle ':completion::complete:tar::' \
> tag-order 'globbed-files directories' all-files
That's exactly what I'd tried, with once difference; as I mentioned, I
want this behaviour everywhere, not just for tar, so I'd tried:
zstyle ':completion::complete:*' \
tag-order 'globbed-files directories' all-files
However, neither your version nor mine seem to work. Maybe I'm just
missing a bugfix because I'm behind on patches.
Adam
Messages sorted by:
Reverse Date,
Date,
Thread,
Author