Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Setting/Querying cache-policy (was: Re: sudo autocompletion)
- X-seq: zsh-workers 45420
- From: dana <dana@xxxxxxx>
- To: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- Subject: Re: Setting/Querying cache-policy (was: Re: sudo autocompletion)
- Date: Wed, 12 Feb 2020 10:51:01 -0600
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- In-reply-to: <20200211102841.58f86c93@tarpaulin.shahaf.local2>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <912d22db-8a8f-90f2-6738-f9f395994dcb@gmail.com> <CAN=4vMqvzUTZ7bBLcbTzi-pKAVEP1xDbq=f5pLAxmffxUjTszQ@mail.gmail.com> <1770be62-54d8-70a6-8b05-cfc98faa9b9f@gmail.com> <20200210030219.527a3ccf@tarpaulin.shahaf.local2> <ADE72275-1311-44BE-9B1D-5E617E3D9F94@gmail.com> <D0BDD1BB-192E-4D50-A0D2-0BB54388B9B9@dana.is> <20200210192033.1bae83dc@tarpaulin.shahaf.local2> <17405-1581415941.062275@CNCV.ghXS.ifR-> <20200211102841.58f86c93@tarpaulin.shahaf.local2>
On 11 Feb 2020, at 04:28, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> Speaking of the cache-policy style, why do the following places use
> ":completion:*:*:$service:*" in the «zstyle -s» call? Shouldn't that
> use ${curcontext}?
The former method seems right-ish for *setting* the styles (as right as you
can really be, at least?), but not for retrieving them. Probably just someone
copying and pasting without thinking about the implications? I'm sure that was
the case for the ones on there that i wrote, anyway
Will fix later
dana
Messages sorted by:
Reverse Date,
Date,
Thread,
Author