On 2020/01/16 18:05, Paco Esteban wrote:
> Hi Edd,
> 
> On Thu, 16 Jan 2020, 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
> > ```
> > 
> > OK?
> 
> On Nov 28, Aaron Bieber sent a patch to update fzf that included
> something similar, but it was never imported:
> 
> https://marc.info/?l=openbsd-ports&m=157496223810600&w=2
> 
> I've been using it since with no issues.  You may want to take a look
> (he did not put the files in the same place).
> 
> Cheers,
> 
> -- 
> Paco Esteban.
> 5818130B8A6DBC03
> 

We have standard locations for bash/zsh completion files, not every
port uses them but the majority do and it would probably make sense to
do the same here:

/usr/local/share/bash-completion/completions
/usr/local/share/zsh/vendor-completions

There's no equivalent for key-bindings though.

Reply via email to