mirror of
https://github.com/systemd/systemd.git
synced 2025-01-10 05:18:17 +03:00
d34b7c117b
using _wanted instead of calling compadd directly. this allows the user to customize possible matches. An example being, grouping units by type: autoload -Uz compinit; compinit zstyle ':completion:*' menu select zstyle ':completion:*' group-name '' zstyle ':completion:*' format 'Completing %d' zstyle -e ':completion:*:*:systemctl-(((re|)en|dis)able|(*re|)start|reload*):*' \ tag-order 'local type; for type in service template target socket; reply+=( systemd-units:-${type}:${type} ); reply=( "$reply systemd-units:-misc:misc" )' zstyle ':completion:*:systemd-units-template' ignored-patterns '^*@' zstyle ':completion:*:systemd-units-target' ignored-patterns '^*.target' zstyle ':completion:*:systemd-units-socket' ignored-patterns '^*.socket' zstyle ':completion:*:systemd-units-service' ignored-patterns '^*.service' zstyle ':completion:*:systemd-units-misc' ignored-patterns '*(@|.(service|socket|target))' also, <poke> http://lists.freedesktop.org/archives/systemd-devel/2015-May/032012.html |
||
---|---|---|
.. | ||
_bootctl | ||
_busctl | ||
_coredumpctl | ||
_hostnamectl | ||
_journalctl | ||
_kernel-install | ||
_localectl | ||
_loginctl | ||
_machinectl | ||
_sd_hosts_or_user_at_host | ||
_sd_machines | ||
_sd_outputmodes | ||
_sd_unit_files | ||
_systemctl.in | ||
_systemd | ||
_systemd-analyze | ||
_systemd-delta | ||
_systemd-inhibit | ||
_systemd-nspawn | ||
_systemd-run | ||
_systemd-tmpfiles | ||
_timedatectl | ||
_udevadm | ||
.gitignore | ||
Makefile |