Arch Linux

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#36476 - systemd zsh completion: use systemd's own files

Attached to Project: Arch Linux
Opened by Michael Laß (Bevan) - Friday, 09 August 2013, 22:56 GMT
Last edited by Pierre Schmitz (Pierre) - Friday, 13 September 2013, 13:53 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

systemd provides files for zsh completion [1]. Until now we do not install these files but use the one[2] that's provided by zsh instead. I would suggest to remove that file from the zsh package and let systemd install its own files.

This would extend the completion a lot. For example also journalctl gets completion which is very helpful to filter the output.

[1]: http://cgit.freedesktop.org/systemd/systemd/tree/shell-completion/zsh
[2]: /usr/share/zsh/functions/Completion/Unix/_systemd
This task depends upon

Closed by  Pierre Schmitz (Pierre)
Friday, 13 September 2013, 13:53 GMT
Reason for closing:  Implemented
Comment by Dave Reisner (falconindy) - Saturday, 10 August 2013, 01:39 GMT
This is already going to happen with systemd 207. zsh completion has never been installed properly in systemd.
Comment by Pierre Schmitz (Pierre) - Saturday, 10 August 2013, 11:07 GMT
ZSH upstream should be asked to drop the completion files then.
Comment by Dave Reisner (falconindy) - Friday, 23 August 2013, 01:26 GMT
Assigning to ZSH maintainer since there's nothing for me to do with systemd.

@Pierre, I'll try to give you a heads up when systemd 207 goes to testing.
Comment by Pierre Schmitz (Pierre) - Friday, 13 September 2013, 12:32 GMT
I assume the systemd file in zsh needs to be removed now?

% pacman -Qql systemd|grep zsh
/usr/share/zsh/
/usr/share/zsh/site-functions/
/usr/share/zsh/site-functions/_hostnamectl
/usr/share/zsh/site-functions/_journalctl
/usr/share/zsh/site-functions/_kernel-install
/usr/share/zsh/site-functions/_localectl
/usr/share/zsh/site-functions/_loginctl
/usr/share/zsh/site-functions/_machinectl
/usr/share/zsh/site-functions/_sd_hosts_or_user_at_host
/usr/share/zsh/site-functions/_systemctl
/usr/share/zsh/site-functions/_systemd
/usr/share/zsh/site-functions/_systemd-analyze
/usr/share/zsh/site-functions/_systemd-coredumpctl
/usr/share/zsh/site-functions/_systemd-delta
/usr/share/zsh/site-functions/_systemd-inhibit
/usr/share/zsh/site-functions/_systemd-nspawn
/usr/share/zsh/site-functions/_systemd-tmpfiles
/usr/share/zsh/site-functions/_timedatectl
/usr/share/zsh/site-functions/_udevadm

% pacman -Qql zsh|grep systemd
/usr/share/zsh/functions/Completion/Unix/_systemd
Comment by Dave Reisner (falconindy) - Friday, 13 September 2013, 12:52 GMT
Yes please

Loading...