From 67c017409367fc895fd73d5a73b40332daaeb545 Mon Sep 17 00:00:00 2001 From: Han Pingtian Date: Thu, 14 Apr 2016 16:46:27 +0200 Subject: 38219: remove redundant left square bracket --- ChangeLog | 3 +++ Completion/Zsh/Context/_subscript | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 35081c284..047fd0f30 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2016-04-14 Oliver Kiddle + * Han Pingtian: 38219: Completion/Zsh/Context/_subscript: + remove redundant left square bracket + * 38287: Src/Zle/zle_vi.c: fix position for the end of a visual selection range for the cursor on an empty last line in the buffer diff --git a/Completion/Zsh/Context/_subscript b/Completion/Zsh/Context/_subscript index 679f129a3..80642d8db 100644 --- a/Completion/Zsh/Context/_subscript +++ b/Completion/Zsh/Context/_subscript @@ -81,7 +81,7 @@ elif compset -P '\('; then elif [[ ${(Pt)${compstate[parameter]}} = assoc* ]]; then local suf MATCH MBEGIN MEND local -a keys - keys=("${(@)${(@k)${(P)compstate[parameter]}}//(#m)[\$\\\[\]\(\)\[\{\}]/\\$MATCH}") + keys=("${(@)${(@k)${(P)compstate[parameter]}}//(#m)[\$\\\[\]\(\)\{\}]/\\$MATCH}") keys=("${(@)keys//#%(#m)[*@]/(e)$MATCH}") [[ "$RBUFFER" != (|\\)\]* ]] && suf="$osuf" -- cgit 1.4.1