Skip to content

refactor: more util/xfunc primary command convention adjustments #988

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

Merged
merged 5 commits into from
May 23, 2023

Conversation

scop
Copy link
Owner

@scop scop commented May 23, 2023

Remaining found cases as mentioned in #965 (comment)

Copy link
Collaborator

@akinomyoga akinomyoga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the pathcmd modification of PATH is widely used with _comp_xfunc, maybe it could be implemented as an option to _comp_xfunc? But I also see use cases with other completion generations, so it could be better implemented as an option to _comp_compgen just like -C dir. Anyway, such a refactoring can be done in a later PR. We can easily search the related part by grep pathcmd.

#965 (comment)

Thanks-to: Koichi Murase <myoga.murase@gmail.com>
@scop scop merged commit b2ab72f into master May 23, 2023
@scop scop deleted the refactor/util-func-cmds-2 branch May 23, 2023 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants