Vincent Lefevre <[EMAIL PROTECTED]> writes:

> On 2005-12-11 14:33:54 +0100, Jérôme Marant wrote:
>> The "then" keyword is being colored differently because you forgot the
>> ";" after "]]".
>
> I didn't forget it since the ";" is useless after "]]". "[[ ... ]]"
> is a special syntax recognized by zsh, with its own rules (patterns
> inside "[[ ... ]]" are handled differently and so on). But note that
> this is not the case of "[ ...", as "[" is a normal command (though
> also implemented as a builtin).

It is not specific to zsh since bash supports it as well (man bash
documents it) but the difference is that zsh does not require the ";"
after "]]" which bash does.

I'm going to report it upstream. Thanks.

Regards,

-- 
Jérôme Marant

Reply via email to