zsh-completions icon indicating copy to clipboard operation
zsh-completions copied to clipboard

Example under _regex_arguments section is different from the explanation for the example itself?

Open fishBone000 opened this issue 1 year ago • 0 comments

https://github.com/zsh-users/zsh-completions/blob/d24f58d2f187a72697aa2781a730f65732cb2f6b/zsh-completions-howto.org?plain=1#L291-L299

The explanation for the example and the example itself seems a bit different?

The example seems to say that we should match:

  • Any non-empty command
  • Any branch below
    • word1(a|b|c)
    • word11(a|b|c)
      • Any branch below
        • word2(a|b|c)
        • word22(a|b|c)

But the explanation says something else, like the second word can be word2(a|b|c) or a filename.

fishBone000 avatar Sep 18 '24 02:09 fishBone000