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
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
|
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
Friday, 13 September 2013, 13:53 GMT
Reason for closing: Implemented
@Pierre, I'll try to give you a heads up when systemd 207 goes to testing.
% 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