[bash] bring fzf’s own bash completion up to date #3471
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.
Well, I tried to find out all possible options and "fixed" values as good as I could from the actual parsing code.
Unfortunately both,
--help
-output and the manpage seem to be also outdated (see #3470), so these were couldn’t really be used as a reference.Yeah,... I remember your comment in #3457 (comment) ... but it sounded rather unclear whether/when you'd go that "cobra"-way... and I don't want
fzf
’s own completion to be dropped.So here's an update.
That being said, I still think we should do #3457, but maybe we can discuss that in terms of some larger ideas.
btw:
Why are you doing this:
fzf/shell/completion.bash
Lines 123 to 126 in a0d61b4
?
Can it be dropped?