Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#74451 - [tldr] Autocomplete missing for zsh

Attached to Project: Community Packages
Opened by Ruben (StopMotionCuber) - Tuesday, 12 April 2022, 10:22 GMT
Last edited by Brett Cornwall (ainola) - Wednesday, 01 March 2023, 00:54 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Brett Cornwall (ainola)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The td;dr package, installed via pacman, does not provide autocomplete on zsh for me.
Upstream support for autocomplete is present and documented here: https://github.com/tldr-pages/tldr-python-client/blob/main/README.md#autocomplete

I'm not very familiar with the whole packaging stuff, but I would think that a post-setup hook should be able to allow for the autocomplete files to be generated.

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

Steps to reproduce:
1. Install tldr
2. Try completion on zsh with tldr <tab>
This task depends upon

Closed by  Brett Cornwall (ainola)
Wednesday, 01 March 2023, 00:54 GMT
Reason for closing:  Implemented
Additional comments about closing:  tldr-3.1.0-4 has this implemented now!
Comment by Brett Cornwall (ainola) - Thursday, 05 May 2022, 04:58 GMT
We wouldn't be able to run it as a post_*() hook as that would violate package reproducibility. If anything, we'd need to run it in the package() function. It feels kinda ugly to me. Any opinions, Felix?

Loading...