Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: preexec problems
- X-seq: zsh-workers 35562
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Dave Yost <Dave@xxxxxxxx>
- Subject: Re: preexec problems
- Date: Mon, 22 Jun 2015 08:00:34 +0200
- Cc: zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/Wj/8h2Ah+eKf4ZEedfDoKJxQK7OySZpFiyRD7pwL5w=; b=SKiZ6izCBPRlO3n2wD0IZatoNaiDBGq/Cn99scwcqvzWrm6ZBUbJrQt3lihBudQ0G9 s0+J2yxrkyyV9tpmSL5xoFo9LlIy8SKaO18MIIj2w+E9eZ6zmxf4L0U2dNeWOLkVGl1M T9NwcEiKvhSvn8FUezWoHla9R/eeftuu7tP5SIawTtJ+b1yssPtFCYW15cg+0Qgdv8Ko hnEH/2NTYSX2EjmOgOUOUaoUMFnUlyOxWAM91aQuXyitd8qwxDKx87cbXEwq4TKJulLk apq8RTgBj+zIMeylwdFFuh5g5gziaUHbD9r+PH3uf+qMGzV45tc6g4nzc0C2VOkUfAkh cvww==
- In-reply-to: <0C266C66-4788-4C62-BDF8-1E011884EFC1@yost.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <0C266C66-4788-4C62-BDF8-1E011884EFC1@yost.com>
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