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

Re: Dynamic colored command in zsh



On 19 September 2010 13:50, Julien Nicoulaud <julien.nicoulaud@xxxxxxxxx> wrote:
> My version merged with Roy's last one that handles inconsistent spacing in
> the command: http://gist.github.com/586698
>
> Nobody found how to trigger it whenever the buffer changes ? I tried with
> _refresh without success.

I posted a crazy thing a while back, see
http://www.zsh.org/mla/workers/2009/msg01225.html , that function is
called every time the line is redrawn _including on cursor movement_,
so it is probably very slow, but it should at least look correct. It
requires patching zsh though, so it's not very portable.

-- 
Mikael Magnusson



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