Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] shutdown(1): add "-c" for _shutdown completion
- X-seq: zsh-workers 42968
- From: Eitan Adler <lists@xxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] shutdown(1): add "-c" for _shutdown completion
- Date: Sat, 9 Jun 2018 15:23:06 +0000
- Cc: Eitan Adler <lists@xxxxxxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=from:to:cc:subject:date:message-id; bh=0qCTxbv12vHEBzbSuFEDi9ZjjRvHOcR0Fs/5bcMhnQA=; b=OB04TPsbEl/x+eIj9Yk7G6h9Hnx8g7bDJdfqlMIyHL/wBJfs0KRYDMF86bdFRaU/+6 D2sbK79iTjYeTM82mMVXOA19CECbAZJ6iStqSk5WEHaatvD9TP/Yk8o9LxIIFdap373D GQKnqa+MQjf0yJHTuoGEjM0CYOqay/TQstsek=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Signed-off-by: Eitan Adler <lists@xxxxxxxxxxxxxx>
---
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author