-
Notifications
You must be signed in to change notification settings - Fork 391
doc(api-and-naming): add rules for xfuncs and generators #993
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
b7c03b1
to
701466f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks mostly good to me, just a few small comments.
Kind of a head scratcher is that per this definition, I guess the majority of functions would actually be generators, and we'd be up for another round of renamings to bring them up to spec 🤔
Another thing is choosing between options 2 and 3 for internal generators per #962 (reply in thread)
For the utility functions defined in
I left a comment at #962 (reply in thread). |
51944ae
to
ed8e81e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, pre-approved after addressing the apparent conflict in the docs with regards to referencing/modifying target vars in generators.
scop#954 (comment) scop#964 scop#962 (comment) Co-authored-by: Ville Skyttä <[email protected]>
27cd492
to
39cc200
Compare
Cheers 👍 |
Thanks! |
Document the naming rules and implementation advices for xfuncs and
_comp_compgen_NAME
#954 (comment)
#964
#962 (comment)
Note:
_comp_compegn [-i CMD|-x CMD]
are not yet impl;emented.