summary refs log tree commit diff
path: root/Completion/BSD
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2017-03-04 00:33:20 +0100
committerOliver Kiddle <opk@zsh.org>2017-03-04 00:33:20 +0100
commit7fd62f43674a8cb8504b91aed4cd2f815350d5f0 (patch)
treefb75dea20d0e896ec1dea7ec13a4d12d09fac826 /Completion/BSD
parentc8005af3102adfd80f778a86096dbd712e3f60bc (diff)
downloadzsh-7fd62f43674a8cb8504b91aed4cd2f815350d5f0.tar.gz
zsh-7fd62f43674a8cb8504b91aed4cd2f815350d5f0.tar.xz
zsh-7fd62f43674a8cb8504b91aed4cd2f815350d5f0.zip
40597: be flexible about order of options to _values
Diffstat (limited to 'Completion/BSD')
-rw-r--r--Completion/BSD/Command/_sysrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/BSD/Command/_sysrc b/Completion/BSD/Command/_sysrc
index 651c18b89..246d73bd3 100644
--- a/Completion/BSD/Command/_sysrc
+++ b/Completion/BSD/Command/_sysrc
@@ -76,9 +76,9 @@ _sysrc() {
 
       if (( $#rc_conf_vars )); then
         if [[ $opt == N ]]; then
-          _values -w -C variable ${^rc_conf_vars%%\[*}'::value' && ret=0
+          _values -w variable ${^rc_conf_vars%%\[*}'::value' && ret=0
         else
-          _values -w -C variable ${^rc_conf_vars}'::value' && ret=0
+          _values -w variable ${^rc_conf_vars}'::value' && ret=0
         fi
       fi
     fi