* [PATCH] shutdown(1): add "-c" for _shutdown completion
@ 2018-06-09 15:23 Eitan Adler
0 siblings, 0 replies; only message in thread
From: Eitan Adler @ 2018-06-09 15:23 UTC (permalink / raw)
To: zsh-workers; +Cc: Eitan Adler
Signed-off-by: Eitan Adler <lists@eitanadler.com>
---
Completion/Unix/Command/_shutdown | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Completion/Unix/Command/_shutdown b/Completion/Unix/Command/_shutdown
index 4119502fb..02df4cd0a 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*)
+ args+=(
+ '-c[power cycle the system instead of halting if possible]'
+ )
;;
netbsd*)
args+=(
--
2.17.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-06-09 16:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-09 15:23 [PATCH] shutdown(1): add "-c" for _shutdown completion Eitan Adler
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).