diff options
author | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2015-02-06 23:06:07 +0900 |
---|---|---|
committer | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2015-02-06 23:06:07 +0900 |
commit | 2810317ae2f2f96d06add76c17510a90f2ea3f62 (patch) | |
tree | 5bfacc3a2705eb6f8c9b894fb7c2c2dccefde15c /Completion | |
parent | 1a91cb7fb16423337f9d745f78bd3ae7215c2214 (diff) | |
download | zsh-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/_arguments | 2 |
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=() |