summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorEitan Adler <lists@eitanadler.com>2018-06-09 15:23:06 +0000
committerOliver Kiddle <okiddle@yahoo.co.uk>2018-06-09 21:26:44 +0200
commit0a4eb2d85d39ef951b229fc01f833cc5f4fbfe87 (patch)
treef1ef34c5d72ae6bc3870c66567c0af6d4566b909 /Completion/Unix/Command
parentb5b3dde0a003df55b7711ea3ebb3c1ebd4d9c5a1 (diff)
downloadzsh-0a4eb2d85d39ef951b229fc01f833cc5f4fbfe87.tar.gz
zsh-0a4eb2d85d39ef951b229fc01f833cc5f4fbfe87.tar.xz
zsh-0a4eb2d85d39ef951b229fc01f833cc5f4fbfe87.zip
42968: add "-c" for _shutdown completion on FreeBSD 12-current
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_shutdown5
1 files changed, 5 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_shutdown b/Completion/Unix/Command/_shutdown
index 4119502fb..a237b14e0 100644
--- a/Completion/Unix/Command/_shutdown
+++ b/Completion/Unix/Command/_shutdown
@@ -42,6 +42,11 @@ case $OSTYPE in
     args+=(
       '-o[execute halt or reboot instead of sending a signal to init]'
     )
+  ;|
+  freebsd<12->.*)
+    args+=(
+      '-c[power cycle the system instead of halting if possible]'
+    )
   ;;
   netbsd*)
     args+=(