How to delegate to another command's completion? #1497
Unanswered
fredrikfoss
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
How can I make a completion function reuse the existing completion logic for another command? My usecase is to have
myprg g <tab>offer the same completions asgit <tab>. My attempts are the following, but none of them produced any completions (unless I used"git"instead of"g".)Beta Was this translation helpful? Give feedback.
All reactions