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

Re: preexec problems



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