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. --- Completion/Base/Utility/_arguments | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion') 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