1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-11 13:01:28 +02:00

42806: fix shutdown completion where options were lost due to args= assignment where args+= was needed

This commit is contained in:
Oliver Kiddle 2018-05-19 11:10:46 +02:00
parent 25f6f5eebe
commit 5e2d3d1e15
2 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,8 @@
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
the the BSDs in netstat completion

View file

@ -27,8 +27,8 @@ case $OSTYPE in
'*:warning message'
)
;|
*bsd*|dragonfly*|linux*)
args=(
*bsd*|dragonfly*)
args+=(
'-p[turn off power after shutdown]'
)
;|