[MacPorts] #65166: fzf key bindings in fish not enabled automatically

MacPorts noreply at macports.org
Thu May 12 19:25:44 UTC 2022


#65166: fzf key bindings in fish not enabled automatically
--------------------------+----------------------
  Reporter:  ekovarski    |      Owner:  cardi
      Type:  enhancement  |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  fzf          |
--------------------------+----------------------
Description changed by ryandesign:

Old description:

> The instructions during port install are not sufficient to enable the key
> bindings.
>
> While fish will source the file, ${prefix}/share/fzf/shell/key-
> bindings.fish, as per the instructions when added to config.fish, the
> bindings have to be manually enabled by adding the following to
> ~/.config/fish/functions/fish_user_key_bindings.fish
>
> function fish_user_key_bindings
>         fzf_key_bindings
> end
>
> This can save some frustration for the user. The install script for fzf
> usually handles it for fish but it does not seem to be part of the port.

New description:

 The instructions during port install are not sufficient to enable the key
 bindings.

 While fish will source the file, ${prefix}/share/fzf/shell/key-
 bindings.fish, as per the instructions when added to config.fish, the
 bindings have to be manually enabled by adding the following to
 ~/.config/fish/functions/fish_user_key_bindings.fish

 {{{
 function fish_user_key_bindings
         fzf_key_bindings
 end
 }}}

 This can save some frustration for the user. The install script for fzf
 usually handles it for fish but it does not seem to be part of the port.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/65166#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list