Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Highlighting the command line based on arbitrary rules
- X-seq: zsh-users 17828
- From: Jérémie Roquet <arkanosis@xxxxxxxxx>
- To: "zsh-users@xxxxxxx" <zsh-users@xxxxxxx>
- Subject: Re: Highlighting the command line based on arbitrary rules
- Date: Mon, 10 Jun 2013 17:37:29 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=w2fe3/dddNteojl3JFIAvDknUPq0EWYCe0xJWnchRr0=; b=DIN9LoDOdRnvCF/EUikvbAVIl1AKUzMAwMxusqL6uSy2AyHpbxEhjVGRi7G3QU3xvS otnkLGi6o1g/YHhB2DGtm6XvFOy8roaUEBTsyQjPPr9vFwtGHlEORVryt+2H7cWUyhNB hINafpgqTFf06/xjVnhT47sC4JjcdlCkIsdPoqLuFLpAg5cR+QZLHfIumg1JVRhTOH3s tD+kQTyN9GhckXUBYyvniI5yK+9aO7XDmbXrq7J+uCQHDt7DyIDySotQHY6PeNNU+VTE Im9a299AeBmdRUv4pClHlRoCkuxY2oJXjwL62PLTFnLbLFhw+zPpHLRiUVvABa9K1yaI 2s6w==
- In-reply-to: <130610082330.ZM29057@torch.brasslantern.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAD77+gThLoy0pvRrEYbMhCEG=-oTXGCJHWv_+3WfRdMwv+EjKw@mail.gmail.com> <130610082330.ZM29057@torch.brasslantern.com>
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