On Thu, Jan 16, 2020 at 02:20:09PM +0000, Edd Barrett wrote:
> Hi,
>
> This diff packages the necessary support files for for integrating fzf
> with shells.
>
> With this change, enabling support in (e.g.) zsh is as simple as:
>
> ```
> export FZF_DEFAULT_OPTS="--ansi"
> . /usr/local/share/fzf/shell/key-bindings.zsh
> . /usr/local/share/fzf/shell/completion.zsh
> ```
The usual patterns for zsh are the following
/usr/local/share/zsh/vendor-completions/_fzf
/usr/local/share/zsh/site-functions/_fzf
Bash does
/usr/local/share/bash-completion/completions/fzf
/usr/local/share/bash_completion.d/fzf
I don't know which of those should be preferred, though; perhaps go
with the most common one across ports? At least I think we should not
deviate further from this.