From 9642aeeaebd654565a045475d4d3ba101bfaec8f Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Mon, 2 Nov 2015 02:55:15 +0100 Subject: 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. --- Completion/Unix/Command/_systemd | 470 --------------------------------------- 1 file changed, 470 deletions(-) delete mode 100644 Completion/Unix/Command/_systemd (limited to 'Completion/Unix') 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 -# -# 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]' \ - '--no-block[Do not wait until operation finished]' \ - "--no-wall[Don't send wall message before halt/power-off/reboot]" \ - "--no-reload[When enabling/disabling unit files, don't reload daemon configuration]" \ - '--no-legend[Do not print a legend, i.e. the column headers and the footer with hints]' \ - '--no-pager[Do not pipe output into a pager]' \ - '--no-ask-password[Do not ask for system passwords]' \ - '--order[When generating graph for dot, show only order]' \ - '--require[When generating graph for dot, show only requirement]' \ - '--system[Connect to system manager]' \ - '--user[Connect to user service manager]' \ - '--global[Enable/disable unit files globally]' \ - {-f,--force}'[When enabling unit files, override existing symlinks. When shutting down, execute action immediately]' \ - '--root=[Enable unit files in the specified root directory]:directory:_directories' \ - '--runtime[Enable unit files only temporarily until next reboot]' \ - '*::systemctl command:_systemctl_command' - ;; - - systemd-loginctl) - _arguments -s \ - {-h,--help}'[Show help]' \ - '--version[Show package version]' \ - \*{-p,--property=}'[Show only properties by this name]:unit property:' \ - {-a,--all}'[Show all properties, including empty ones]' \ - '--failed[Show only failed units]' \ - '--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 executio