How to turn on fzf help completion at zsh?
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 83.1k
- Forks
- 3.1k
- Avg merge
- 17h 8m
- Merged PRs (30d)
- 10
Description
Hello, greped a lot in Issues and manual, but can't find how to enable zsh completion for fzf help.
I mean tab complete for fzf options like --preview, --multi, e.t.c.
shell/completion.bash has function _fzf_opts_completion with opts
I havn't find something like this for shell/completion.zsh
probably you added some scripts to build help auto?
There are some examples
bat: https://github.com/sharkdp/bat/blob/master/assets/completions/bat.zsh.in
exa: https://github.com/ogham/exa/blob/master/completions/zsh/_exa
ripgrep: https://github.com/BurntSushi/ripgrep/blob/master/complete/_rg
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the existing _fzf_opts_completion function in shell/completion.bash with the available logic in shell/completion.zsh. Add equivalent zsh option completion for fzf flags such as --preview and --multi, then verify that those options complete after typing fzf in zsh.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- zsh
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100