diff options
author | Oliver Kiddle <okiddle@yahoo.co.uk> | 2018-05-19 11:10:46 +0200 |
---|---|---|
committer | Oliver Kiddle <okiddle@yahoo.co.uk> | 2018-05-19 11:10:46 +0200 |
commit | 5e2d3d1e15e94e3d727e7393cbce2667a93f2fd4 (patch) | |
tree | 8d0525f548122676440abb6159401ce3fbb5c40b | |
parent | 25f6f5eebee3aa43c2da1c581414766aee08d3d8 (diff) | |
download | zsh-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
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Completion/Unix/Command/_shutdown | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 8597c8ea2..dda1c6b22 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 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]' ) ;| |