From a1b3358cb8666d1dc2cac9edebc56731ee2aba35 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Thu, 19 Feb 2015 18:45:57 +0100 Subject: [PATCH] systemctl completions: Remove duplicated commands --- share/completions/systemctl.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/completions/systemctl.fish b/share/completions/systemctl.fish index 1e5be2ee7..cbda5e7ce 100644 --- a/share/completions/systemctl.fish +++ b/share/completions/systemctl.fish @@ -1,12 +1,12 @@ set -l commands list-units list-sockets start stop reload restart try-restart reload-or-restart reload-or-try-restart \ isolate kill is-active is-failed status show get-cgroup-attr set-cgroup-attr unset-cgroup-attr set-cgroup help \ reset-failed list-unit-files enable disable is-enabled reenable preset mask unmask link load list-jobs cancel dump \ - list-dependencies snapshot delete daemon-reload daemon-reexec show show-environment set-environment unset-environment \ + list-dependencies snapshot delete daemon-reload daemon-reexec show-environment set-environment unset-environment \ default rescue emergency halt poweroff reboot kexec exit suspend hibernate hybrid-sleep switch-root complete -f -e -c systemctl # All systemctl commands -complete -f -c systemctl -n "not __fish_seen_subcommand_from $commands" -a 'list-units list-sockets start stop reload restart try-restart reload-or-restart reload-or-try-restart isolate kill is-active is-failed status show get-cgroup-attr set-cgroup-attr unset-cgroup-attr set-cgroup help reset-failed list-unit-files enable disable is-enabled reenable preset mask unmask link load list-jobs cancel dump list-dependencies snapshot delete daemon-reload daemon-reexec show-environment set-environment unset-environment default rescue emergency halt poweroff reboot kexec exit suspend hibernate hybrid-sleep switch-root' +complete -f -c systemctl -n "not __fish_seen_subcommand_from $commands" -a "$commands" #### Units commands complete -f -c systemctl -n "not __fish_seen_subcommand_from $commands" -a start -d 'Start one or more units'