about summary refs log tree commit diff
path: root/Completion/Unix/Command/_shutdown
diff options
context:
space:
mode:
authorOliver Kiddle <okiddle@yahoo.co.uk>2018-05-19 11:10:46 +0200
committerOliver Kiddle <okiddle@yahoo.co.uk>2018-05-19 11:10:46 +0200
commit5e2d3d1e15e94e3d727e7393cbce2667a93f2fd4 (patch)
tree8d0525f548122676440abb6159401ce3fbb5c40b /Completion/Unix/Command/_shutdown
parent25f6f5eebee3aa43c2da1c581414766aee08d3d8 (diff)
downloadzsh-5e2d3d1e15e94e3d727e7393cbce2667a93f2fd4.tar.gz
zsh-5e2d3d1e15e94e3d727e7393cbce2667a93f2fd4.tar.xz
zsh-5e2d3d1e15e94e3d727e7393cbce2667a93f2fd4.zip
42806: fix shutdown completion where options were lost due to args= assignment where args+= was needed
Diffstat (limited to 'Completion/Unix/Command/_shutdown')
-rw-r--r--Completion/Unix/Command/_shutdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_shutdown b/Completion/Unix/Command/_shutdown
index 9726182a0..4119502fb 100644
--- a/Completion/Unix/Command/_shutdown
+++ b/Completion/Unix/Command/_shutdown
@@ -27,8 +27,8 @@ case $OSTYPE in
       '*:warning message'
     )
   ;|
-  *bsd*|dragonfly*|linux*)
-    args=(
+  *bsd*|dragonfly*)
+    args+=(
       '-p[turn off power after shutdown]'
     )
   ;|