From 2810317ae2f2f96d06add76c17510a90f2ea3f62 Mon Sep 17 00:00:00 2001 From: Jun-ichi Takimoto Date: Fri, 6 Feb 2015 23:06:07 +0900 Subject: 34456: lopts should be initialized as an array otherwise an empty element remains in lopts, which causes a trouble when _arguments -- '*:' is called. --- ChangeLog | 4 ++++ Completion/Base/Utility/_arguments | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6a983f0df..d14fc5345 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2015-02-03 Jun-ichi Takimoto + + * 34456: _arguments: lopts should be initialized as an array + 2015-02-06 Peter Stephenson * users/19825: Doc/Zsh/manual.yo: clear statement that zsh is 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=() -- cgit 1.4.1