mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-22 00:21:27 +01:00
24239: _subscript added too many backslashes
This commit is contained in:
parent
fc9dc5940f
commit
7a598440f6
2 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,9 @@
|
|||
2007-12-13 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* 24239: Completion/Zsh/Context/_subscript: if the [ of
|
||||
a subscript was backslashed, a trailing space was added
|
||||
backslashed along with the "\[".
|
||||
|
||||
* 24236: Test/C02cond.ztst: another case where the wretched
|
||||
cond -N test can fail.
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
local expl ind osuf=']' flags sep
|
||||
|
||||
if [[ "$1" = -q ]]; then
|
||||
osuf='] '
|
||||
compquote osuf
|
||||
osuf+=' '
|
||||
shift
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue