Fish completion inside hidden commands #2122
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
What this PR does / why we need it:
Reasonably, once I have entered the secret command, I should get completions on its children (unless they are secret, of course). The bash completions seems to do this.
Which issue(s) this PR fixes:
Fixes #2120 .
Testing
See issue.
Reviewer notes
This PR is based on top of #2121 and will need rebasing (or merge this one to apply both PRs at the same time). This PR only only concerns 66d871f.
Release Notes