On 01/07/2015 11:51 AM, Bart Schaefer wrote:
All I can say is that the 'reverse pattern matching lookup mechanism' is less than transparent, in use, or in documentation. Even in Peter/Oliver's book, one gets the feeling that even those two masters have a sort of 'throw up one's hands' view of it--that one just hopes for the best with completion. This is the deepest well of obscurity in zsh.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".