From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16678 invoked by alias); 3 Sep 2014 01:38:39 -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: 33097 Received: (qmail 15347 invoked from network); 3 Sep 2014 01:38:39 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 From: Bart Schaefer Message-id: <140902183824.ZM16015@torch.brasslantern.com> Date: Tue, 02 Sep 2014 18:38:24 -0700 In-reply-to: <17098.1409701984@thecus.kiddle.eu> Comments: In reply to Oliver Kiddle "Re: PATCH: evaluation depth in prompts" (Sep 3, 1:53am) References: <20140826174029.6478ee3a@pwslap01u.europe.root.pri> <20140826181055.59c99bdc@pwslap01u.europe.root.pri> <20140829171605.7bdac33b@pwslap01u.europe.root.pri> <140901140202.ZM14612@torch.brasslantern.com> <17098.1409701984@thecus.kiddle.eu> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: "Zsh Hackers' List" Subject: Re: PATCH: evaluation depth in prompts MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Sep 3, 1:53am, Oliver Kiddle wrote: } } > + local -a debug_indent; debug_indent=( '%'{3..20}'(e. .)' ) } > + local PROMTP4 PS4="${(j::)debug_indent}+%N:%i> " } } Note the typo for PROMPT4. Thanks for noticing that. I'm not sure PROMPT4 needs to be declared there anyway, but given the alter ego I it might be a good idea.