From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12624 invoked from network); 29 Jun 1999 15:40:39 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 29 Jun 1999 15:40:39 -0000 Received: (qmail 8428 invoked by alias); 29 Jun 1999 15:40:34 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6929 Received: (qmail 8419 invoked from network); 29 Jun 1999 15:40:29 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) From: "Andrej Borsenkow" To: "Bart Schaefer" , Subject: RE: PATCH: pws-24: prompt escapes for script/function and lineno Date: Tue, 29 Jun 1999 19:40:26 +0400 Message-ID: <003501bec245$b5aa4740$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <990629153127.ZM21149@candle.brasslantern.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 > > Incidentally, bash prints more than one "+" at the beginning of each line > when xtracing a subshell (that is, a parenthesized or otherwise grouped > list of commands), so you can see how deeply nested the forking is getting. > Is there a way to duplicate that effect with PS4 formats? > %L - current value of SHLVL. Something like "+(%L):%N:%i> " ? If it is suitable default is another question. /andrej