about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2015-02-06 23:06:07 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2015-02-06 23:06:07 +0900
commit2810317ae2f2f96d06add76c17510a90f2ea3f62 (patch)
tree5bfacc3a2705eb6f8c9b894fb7c2c2dccefde15c /Completion
parent1a91cb7fb16423337f9d745f78bd3ae7215c2214 (diff)
downloadzsh-2810317ae2f2f96d06add76c17510a90f2ea3f62.tar.gz
zsh-2810317ae2f2f96d06add76c17510a90f2ea3f62.tar.xz
zsh-2810317ae2f2f96d06add76c17510a90f2ea3f62.zip
34456: lopts should be initialized as an array
otherwise an empty element remains in lopts, which causes
a trouble when _arguments -- '*:' is called.
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Base/Utility/_arguments2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Base/Utility/_arguments b/Completion/Base/Utility/_arguments
index d70c44259..1f35e8d43 100644
--- a/Completion/Base/Utility/_arguments
+++ b/Completion/Base/Utility/_arguments
@@ -26,7 +26,7 @@ if (( long )); then
 
   if (( ! ${(P)+name} )); then
     local iopts sopts pattern tmpo dir cur cache
-    typeset -U lopts
+    typeset -Ua lopts
 
     cache=()