summaryrefslogtreecommitdiffstats
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2015-11-02 02:55:15 +0100
committerDaniel Hahler <git@thequod.de>2015-11-02 02:58:09 +0100
commit9642aeeaebd654565a045475d4d3ba101bfaec8f (patch)
tree05e12325b4d264c858512e94b4d28fc719a4e3a4 /Completion/Unix/Command
parent37038: add -l option to emulate to list options in emulations (diff)
downloadzsh-9642aeeaebd654565a045475d4d3ba101bfaec8f.tar
zsh-9642aeeaebd654565a045475d4d3ba101bfaec8f.tar.gz
zsh-9642aeeaebd654565a045475d4d3ba101bfaec8f.tar.bz2
zsh-9642aeeaebd654565a045475d4d3ba101bfaec8f.tar.lz
zsh-9642aeeaebd654565a045475d4d3ba101bfaec8f.tar.xz
zsh-9642aeeaebd654565a045475d4d3ba101bfaec8f.tar.zst
zsh-9642aeeaebd654565a045475d4d3ba101bfaec8f.zip
35303: remove Completion/Unix/Command/_systemd
systemd's upstream version seems to be maintained well, and e.g. on Arch Linux the version from Zsh gets removed in favour of it.
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_systemd470
1 files changed, 0 insertions, 470 deletions
diff --git a/Completion/Unix/Command/_systemd b/Completion/Unix/Command/_systemd
deleted file mode 100644
index 028ecddd9..000000000
--- a/Completion/Unix/Command/_systemd
+++ /dev/null
@@ -1,470 +0,0 @@
-#compdef systemctl systemd-loginctl
-
-# Copyright (c) 2011 Foudil Bre'tel <foudil.newbie+zshsystemctl@gmail.com>
-#
-# This file is released under the GPLv3.
-#
-# inspired from _yum and systemctl-bash-completion.sh (shipped with systemctl)
-#
-# TODO: enable options after commands. Ex: systemctl list-units --all --full
-
-# Main dispatcher
-_systemd()
-{
- local curcontext="$curcontext" state lstate line
-
- case "$service" in
- systemctl)
- # -s for aggregated options like -aP
- _arguments -s \
- {-h,--help}'[Show help]' \
- '--version[Show package version]' \
- {-t,--type=}'[List only units of a particular type]:unit type:(automount device mount path service snapshot socket swap target timer)' \
- \*{-p,--property=}'[Show only properties by specific name]:unit property:()' \
- {-a,--all}'[Show all units/properties, including dead/empty ones]' \
- '--failed[Show only failed units]' \
- "--full[Don't ellipsize unit names on output]" \
- '--fail[When queueing a new job, fail if conflicting jobs are pending]' \
- '--ignore-dependencies[When queueing a new job, ignore all its dependencies]' \
- '--kill-mode=[How to send signal]:killmode:(control-group process)' \
- '--kill-who=[Who to send signal to]:killwho:(main control all)' \
- {-s,--signal=}'[Which signal to send]:signal:_signals' \
- {-H,--host=}'[Show information for remote host]:userathost:_hosts_or_user_at_host' \
- {-P,--privileged}'[Acquire privileges before execution]' \
- {-q,--quiet}'[Suppress output]' \