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

Re: zstyle: "more specific" patterns and *-components



On 4/27/20, Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx> wrote:
> On Mon, Apr 27, 2020 at 12:15 PM Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
> wrote:
>>
>> WDYT?
>
> My reading of the documentation matches yours, so I also expected the
> behavior you expected (which isn't the actual behavior). I also find
> the documented behavior preferable to the actual behavior.
>
> My experience with zstyle is minuscule, so appraising my opinion at 2
> cents would be too generous.

Another view is that in both cases you specified the values of two
'elements', the fact that they are adjacent in one case shouldn't (one
could argue) affect the specificity of the pattern. (this isn't
necessarily my view).

-- 
Mikael Magnusson



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