Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Highlighting the command line based on arbitrary rules



2013/6/10 Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>:
> On Jun 10,  3:54pm, Richard Hartmann wrote:
> }
> } this may be approaching the clinically and/or criminally insane, but
> } is it possible to highlight sections of the command based on arbitrary
> } rules?
>
> Definitely.  Google for zsh-syntax-highlight for an extreme example.
>
> Somebody probably even has a git plugin for that, but it's difficult
> to search for, because of course the project is stored in github so
> the addition of "git" to the search keywords is not helpful.
>
> One caveat is that zsh-syntax-highlighting is currently known to tickle
> an obscure memory management bug somewhere in the depths of ZLE.  We're
> still hoping for somebody who can reproduce it to give us a valgrind or
> similar debugging output.

Probably overkill in this case, but you might be interested in zpython
as well, see http://www.zsh.org/mla/workers/2013/msg00089.html .

Best regards,

-- 
Jérémie



Messages sorted by: Reverse Date, Date, Thread, Author