summary refs log tree commit diff
path: root/Completion/Zsh/Context
diff options
context:
space:
mode:
authorHan Pingtian <hanpt@linux.vnet.ibm.com>2016-04-14 16:46:27 +0200
committerOliver Kiddle <opk@zsh.org>2016-04-14 16:46:27 +0200
commit67c017409367fc895fd73d5a73b40332daaeb545 (patch)
tree9acf6e4f604824e2ae90038085de7d5ba982e5cb /Completion/Zsh/Context
parent267f945ffee8b7820e1e9dc7f483d1ddac3870bf (diff)
downloadzsh-67c017409367fc895fd73d5a73b40332daaeb545.tar.gz
zsh-67c017409367fc895fd73d5a73b40332daaeb545.tar.xz
zsh-67c017409367fc895fd73d5a73b40332daaeb545.zip
38219: remove redundant left square bracket
Diffstat (limited to 'Completion/Zsh/Context')
-rw-r--r--Completion/Zsh/Context/_subscript2
1 files changed, 1 insertions, 1 deletions
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"