FS#58999 - [hub] Install fish completion script
Attached to Project:
Community Packages
Opened by Simon Legner (simon04) - Wednesday, 13 June 2018, 12:56 GMT
Last edited by Eli Schwartz (eschwartz) - Friday, 13 July 2018, 04:18 GMT
Opened by Simon Legner (simon04) - Wednesday, 13 June 2018, 12:56 GMT
Last edited by Eli Schwartz (eschwartz) - Friday, 13 July 2018, 04:18 GMT
|
Details
Description:
Since v2.3.0 [1], a fish completion script is provided at [2]. Please add this script to the package under /usr/share/fish/completions/. Thank you! [1] https://github.com/github/hub/releases/tag/v2.3.0 [2] https://github.com/github/hub/blob/master/etc/hub.fish_completion |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Friday, 13 July 2018, 04:18 GMT
Reason for closing: Fixed
Additional comments about closing: hub 2.4.0-2
Friday, 13 July 2018, 04:18 GMT
Reason for closing: Fixed
Additional comments about closing: hub 2.4.0-2
This the missing line, in case you find it helpful:
install -Dm644 etc/hub.fish_completion "$pkgdir"/usr/share/fish/vendor_completions.d/hub.fish
As you have seen, I've preferred the dir `vendor_completions.d` over `completions`, see ¹ to see why.
Thanks a bunch!
[1]: https://fishshell.com/docs/current/index.html#completion-path