From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14866 invoked by alias); 23 Jun 2015 03:56:05 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 35569 Received: (qmail 6266 invoked from network); 23 Jun 2015 03:56:02 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:subject:mime-version:content-type:in-reply-to:date:cc :content-transfer-encoding:sendlaterdate:message-id:references:to; bh=OmhLH+4Sj37CEvRFQhLE4uF2KkCFewiHOC8AlioTYe4=; b=v8Ju8aSuNdlo4CBRsxnN0LxP3F/JklU6cQoOx0modmAaXaVDi9Agkhz47isjbUlTeu l2t9eFXukEERjOR+7VP8B/XQq5rzODb/K1ef9vloDLCYQswYyBk0Ll2t5RufQVzU2xdm wArDQEJQu1XpaWBnF0uBXNbqg9TpikRwjkIy/+eyd3GZ6tTuH1AJInaFPQ2JjYcH96iI T1CHrY5NwmCdrjtOg/l1d7KTFEBV5igLKrBn9bvYU+EVfBJzWC8c/89pEFkPrdc+bTkx 9fSdgsWMkbqS+he+hLzeUS75si7UKOp1MdraqlR8f+5oyZAVuVvDkU6ufnZ5OIDEZ76Q EfcA== X-Received: by 10.68.252.168 with SMTP id zt8mr62968869pbc.1.1435031758963; Mon, 22 Jun 2015 20:55:58 -0700 (PDT) Sender: Dave Yost From: Dave Yost X-Google-Original-From: Dave Yost Subject: Re: preexec problems Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Content-Type: text/plain; charset=us-ascii In-Reply-To: Date: Mon, 22 Jun 2015 20:55:53 -0700 Cc: zsh workers Content-Transfer-Encoding: quoted-printable Sendlaterdate: Mon, 22 Jun 2015 20:55:53 -0700 Message-Id: References: <0C266C66-4788-4C62-BDF8-1E011884EFC1@yost.com> To: Mikael Magnusson X-Mailer: Apple Mail (2.2098) 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 = wrote: >=20 > On Mon, Jun 22, 2015 at 7:53 AM, Dave Yost wrote: >> It occurred to me that using the preexec hook, I could get the = command line to be in another color. >=20 > You should occur to use zle_highlight instead. For example; > zle_highlight=3D(region:underline > special:bold,bg=3Dblack > default:fg=3D39 > ) >=20 >=20 > --=20 > Mikael Magnusson