Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: completion



On Jan 7, 2015 11:25 AM, "Ray Andrews" <rayandrews@xxxxxxxxxxx> wrote:
>
> On 01/07/2015 10:48 AM, Bart Schaefer wrote:
>> The expected use is that the wildcard will usually be
>> at the tail of the context string, so it's a shorthand to avoid having to
>> write out all the trailng colons.
>>
> Yabut we mostly see them inside.

Peter and Oliver made a decision when writing the B2Z book to show the full
hierarchy in many examples, but "in real life" so to speak there are not
very many cases where the hierarchy matters.

The hardest part of the zstyle mechanism is grasping the "reverse pattern
match" lookup mechanism.  Your hypothetical assassination example is
inaccurate because you're applying the patterns in the wrong "direction".


Messages sorted by: Reverse Date, Date, Thread, Author