mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-25 05:31:19 +02:00
38219: remove redundant left square bracket
This commit is contained in:
parent
267f945ffe
commit
67c0174093
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
2016-04-14 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* 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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue