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#70394 - [etckeeper] Wrong path for zsh completions

Attached to Project: Community Packages
Opened by Ashwin Vishnu (jadelord) - Saturday, 10 April 2021, 07:28 GMT
Last edited by Christian Hesse (eworm) - Sunday, 11 April 2021, 19:34 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The etckeeper zsh completion installs to Debian style /usr/share/zsh/vendor-completions which is not Arch Linux's zsh is configured to use.

Additional info:
* package version: 1.18.16
* https://unix.stackexchange.com/questions/607809/where-should-i-install-the-zsh-completion-file-as-a-package-maintainer

Steps to reproduce:
1. Start a clean user profile with zsh shell
2. Check fpath

$ echo $fpath
/usr/local/share/zsh/site-functions /usr/share/zsh/site-functions ...

3. Check completions
$ autoload -U compinit && compinit
$ etckeeper <TAB> # Tab completion does not work

4. Append fpath
$ fpath+="/usr/share/zsh/vendor-completions"
$ compinit
$ etckeeper <TAB> # Tab completion works
This task depends upon

Closed by  Christian Hesse (eworm)
Sunday, 11 April 2021, 19:34 GMT
Reason for closing:  Fixed
Additional comments about closing:  etckeeper 1.18.16-2

Loading...