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

Re: [PATCH] Fix unintentional history modifiers.



On Sep 22,  8:14pm, Daniel Shahaf wrote:
}
} This doesn't explain why _dates worked: it had a parameter expansion in
} a single-quoted string.

Ah.

Well, remember that zstyles are sort of inverse lookups:  You store them
with a pattern, and then look them up with a fixed string.  So even if
the fixed string (from _dates in this case) is wrong, it might still
be matched by the pattern if that pattern was not specific enough.



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