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

Re: Most minimal configuration challenge

On 2022-08-28 18:29:27 +0000, Daniel Shahaf wrote:
> Ray Andrews wrote on Sun, 28 Aug 2022 13:59 +00:00:
> >> Sounds like you need a test suite for your zshrc.
> > Sometimes it's a guess what some change might do, one does not even
> > know what to expect. Particularly the 'completion' stuff is baffling.
> > Here's mine, it sorta works but I despair at understanding the syntax:
> zstyle has been explained multiple times in the past so you might want
> to look those up and ask about parts that are unclear to you.
> In short, «zstyle ':foo:bar:*:baz' key v1 v2» translates as "When
> library foo asks for the value of key in a situation of the form
> bar:*:baz, tell it the answer is «v1 v2»".

Perhaps there should be a zsh function that translates a zstyle line
to plain English. :-)

Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

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