FS#50790 - [fzf] shell/key-bindings.fish should be installed as fzf_key_bindings.fish

Attached to Project: Community Packages
Opened by Qianchuan Ye (jonathye) - Thursday, 15 September 2016, 19:27 GMT
Last edited by Pierre Neidhardt (Ambrevar) - Tuesday, 27 September 2016, 12:08 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Pierre Neidhardt (Ambrevar)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Current fzf package installs shell/key-bindings.fish to $pkgdir/usr/share/fish/functions/fzf.fish.
But this script is all about a function called fzf_key_bindings so its file name should be fzf_key_bindings.fish as well, due to fish's autoloading feature.
Otherwise, we can't run fzf_key_bindings until triggering fzf once, which is awkward since fzf_key_bindings should be called in startup.

Additional info:
* package version(s)
0.13.5-1

Steps to reproduce:
Launch fish and run command fzf_key_bindings, resulting in a "Unknown command" error.
This task depends upon

Closed by  Pierre Neidhardt (Ambrevar)
Tuesday, 27 September 2016, 12:08 GMT
Reason for closing:  Fixed

Loading...