summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2016-06-09 22:54:07 +0200
committerOliver Kiddle <opk@zsh.org>2016-06-09 22:54:07 +0200
commitd2a140e75d8956ac80e5b243065fe88f792901b2 (patch)
tree19a709a79ca4e210d82524010eda6472eb7a240a
parentcf01ad96d4758c602b41df59bf0fe1330a88b800 (diff)
downloadzsh-d2a140e75d8956ac80e5b243065fe88f792901b2.tar.gz
zsh-d2a140e75d8956ac80e5b243065fe88f792901b2.tar.xz
zsh-d2a140e75d8956ac80e5b243065fe88f792901b2.zip
38641: allow for values which resemble compadd options
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Base/Utility/_values2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 41ae47c54..5063796f8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2016-06-09  Oliver Kiddle  <opk@zsh.org>
 
+	* 38641: Completion/Base/Utility/_values: allow for values which
+	resemble compadd options
+
 	* 38639: Completion/Unix/Command/_su: fix username completion
 	after -, update options and get user shell with getent
 
diff --git a/Completion/Base/Utility/_values b/Completion/Base/Utility/_values
index ab0e46a9c..c510b4cc0 100644
--- a/Completion/Base/Utility/_values
+++ b/Completion/Base/Utility/_values
@@ -3,7 +3,7 @@
 local subopts opt usecc garbage
 
 subopts=()
-zparseopts -D -E -a garbage C=usecc O:=subopts M: J: V: 1 2 n F: X:
+zparseopts -D -a garbage C=usecc O:=subopts M: J: V: 1 2 n F: X:
 
 (( $#subopts )) && subopts=( "${(@P)subopts[2]}" )