FS#80247 - [crystal] 1.10.1 install fish completion script

Attached to Project: Arch Linux
Opened by George Dietrich (blacksmoke16) - Monday, 13 November 2023, 17:53 GMT
Last edited by Anatol Pomozov (anatolik) - Tuesday, 14 November 2023, 05:04 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Anatol Pomozov (anatolik)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Crystal somewhat recently added support for fish completion https://github.com/crystal-lang/crystal/blob/master/etc/completion.fish, but it is not being installed like the bash/zsh ones are.

I attached a patch to fix this based on https://fishshell.com/docs/current/completions.html#where-to-put-completions.
This task depends upon

Closed by  Anatol Pomozov (anatolik)
Tuesday, 14 November 2023, 05:04 GMT
Reason for closing:  Fixed
Comment by George Dietrich (blacksmoke16) - Monday, 13 November 2023, 17:54 GMT
Updated patch file that properly has the `.fish` suffix.
Comment by George Dietrich (blacksmoke16) - Monday, 13 November 2023, 17:56 GMT
Upload correct file
Comment by Anatol Pomozov (anatolik) - Tuesday, 14 November 2023, 05:04 GMT
thank you!

add the patch to git. completion file will be available next time crystal package be rebuilt.

Loading...