From 7a598440f601e6cf27a38f3151a416dbcfd5b978 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 13 Dec 2007 21:38:42 +0000 Subject: 24239: _subscript added too many backslashes --- ChangeLog | 4 ++++ Completion/Zsh/Context/_subscript | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index afe89d678..8d01a0e0d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2007-12-13 Peter Stephenson + * 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. diff --git a/Completion/Zsh/Context/_subscript b/Completion/Zsh/Context/_subscript index 84510d263..7d01565ca 100644 --- a/Completion/Zsh/Context/_subscript +++ b/Completion/Zsh/Context/_subscript @@ -3,8 +3,8 @@ local expl ind osuf=']' flags sep if [[ "$1" = -q ]]; then - osuf='] ' compquote osuf + osuf+=' ' shift fi -- cgit 1.4.1