FS#79567 - [kitty] Empty completion script for Bash

Attached to Project: Arch Linux
Opened by Joey Holtzman (jdholtz) - Tuesday, 05 September 2023, 04:17 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 05 September 2023, 04:27 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Every time this package is updated, I keep getting a message when sourcing bash-completion, which says "bash: complete: kitty: no completion specification". This happens because the completion file installed by this package is empty. I can get rid of this message by just removing the file, but wanted to file this in case others were having the same issue.

I'm not sure why this happens for this package, as 'kitty +complete setup bash' works perfectly fine. An optimal solution could be to only pipe the completion output to the completion file if there is an output, which would fix this issue, but not break anything if it starts working again (or works for other people).

Additional info:
Package version: kitty 0.29.2-2

Steps to reproduce:
1. Reinstall kitty with `pacman -S kitty`
This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 05 September 2023, 04:27 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#78423