mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-12 01:11:27 +02:00
42806: fix shutdown completion where options were lost due to args= assignment where args+= was needed
This commit is contained in:
parent
25f6f5eebe
commit
5e2d3d1e15
2 changed files with 5 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
||||||
2018-05-19 Oliver Kiddle <okiddle@yahoo.co.uk>
|
2018-05-19 Oliver Kiddle <okiddle@yahoo.co.uk>
|
||||||
|
|
||||||
|
* 42806: Completion/Unix/Command/_shutdown: fix where options
|
||||||
|
were lost due to args= assignment where args+= was needed
|
||||||
|
|
||||||
* 42803: Completion/Unix/Command/_netstat: handle Linux and
|
* 42803: Completion/Unix/Command/_netstat: handle Linux and
|
||||||
the the BSDs in netstat completion
|
the the BSDs in netstat completion
|
||||||
|
|
||||||
|
|
|
@ -27,8 +27,8 @@ case $OSTYPE in
|
||||||
'*:warning message'
|
'*:warning message'
|
||||||
)
|
)
|
||||||
;|
|
;|
|
||||||
*bsd*|dragonfly*|linux*)
|
*bsd*|dragonfly*)
|
||||||
args=(
|
args+=(
|
||||||
'-p[turn off power after shutdown]'
|
'-p[turn off power after shutdown]'
|
||||||
)
|
)
|
||||||
;|
|
;|
|
||||||
|
|
Loading…
Reference in a new issue