mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 22:11:54 +02:00
42968: add "-c" for _shutdown completion on FreeBSD 12-current
This commit is contained in:
parent
b5b3dde0a0
commit
0a4eb2d85d
2 changed files with 8 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
||||||
2018-06-09 Oliver Kiddle <okiddle@yahoo.co.uk>
|
2018-06-09 Oliver Kiddle <okiddle@yahoo.co.uk>
|
||||||
|
|
||||||
|
* 42968: Eitan Adler: Completion/Unix/Command/_shutdown:
|
||||||
|
add "-c" for _shutdown completion on FreeBSD 12-current
|
||||||
|
|
||||||
* 42965: dana: Completion/Unix/Command/_bash,
|
* 42965: dana: Completion/Unix/Command/_bash,
|
||||||
Completion/Unix/Command/_sh: add full completion for bash
|
Completion/Unix/Command/_sh: add full completion for bash
|
||||||
|
|
||||||
|
|
|
@ -42,6 +42,11 @@ case $OSTYPE in
|
||||||
args+=(
|
args+=(
|
||||||
'-o[execute halt or reboot instead of sending a signal to init]'
|
'-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*)
|
netbsd*)
|
||||||
args+=(
|
args+=(
|
||||||
|
|
Loading…
Reference in a new issue