diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2013-11-07 14:52:31 +0100 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2013-11-07 14:52:31 +0100 |
commit | d799ac78a744a5359563af55b4dee9e91255a1dc (patch) | |
tree | 73475ed7089e6ee050085a96b88018994b43bdfc /Completion/Unix/Command/_systemd | |
parent | abfb3b136a4ad5b2832fb7d920442a2bb28c0697 (diff) | |
parent | 375115c7dfd6dff576915d25fe2ecdd381dd9d81 (diff) | |
download | zsh-d799ac78a744a5359563af55b4dee9e91255a1dc.tar.gz zsh-d799ac78a744a5359563af55b4dee9e91255a1dc.zip |
Merge branch 'upstream' into debian
Diffstat (limited to 'Completion/Unix/Command/_systemd')
-rw-r--r-- | Completion/Unix/Command/_systemd | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_systemd b/Completion/Unix/Command/_systemd index c9fc38a5e..1aae4688b 100644 --- a/Completion/Unix/Command/_systemd +++ b/Completion/Unix/Command/_systemd @@ -121,11 +121,14 @@ _hosts_or_user_at_host() "rescue:Enter system rescue mode" "emergency:Enter system emergency mode" "halt:Shut down and halt the system" - "suspend:Suspend the system" "poweroff:Shut down and power-off the system" "reboot:Shut down and reboot the system" "kexec:Shut down and reboot the system with kexec" "exit:Ask for user instance termination" + "switch-root:Change to a different root file system" + "suspend:Suspend the system" + "hibernate:Hibernate the system" + "hibernate-sleep:Hibernate and suspend the system" ) if (( CURRENT == 1 )); then @@ -331,6 +334,13 @@ done (( $+functions[_systemctl_link] )) || _systemctl_link() { _files } +(( $+functions[_systemctl_switch-root] )) || _systemctl_switch-root() +{ + if (( CURRENT == 2 )); then + _directories + fi +} + # no systemctl completion for: # [STANDALONE]='daemon-reexec daemon-reload default dot dump # emergency exit halt kexec list-jobs list-units |