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

Re: preexec problems



Thanks!

Now if I could get zsh to intercept stderr and output it with its own color, I would be in zheaven!

> On 2015-06-21, at 11:00 PM, Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
> 
> On Mon, Jun 22, 2015 at 7:53 AM, Dave Yost <Dave@xxxxxxxx> wrote:
>> It occurred to me that using the preexec hook, I could get the command line to be in another color.
> 
> You should occur to use zle_highlight instead. For example;
>    zle_highlight=(region:underline
>                   special:bold,bg=black
>                   default:fg=39
>                  )
> 
> 
> -- 
> Mikael Magnusson



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