Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: pws-24: prompt escapes for script/function and lineno
- X-seq: zsh-workers 6928
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: pws-24: prompt escapes for script/function and lineno
- Date: Tue, 29 Jun 1999 15:31:27 +0000
- In-reply-to: <9906281705.AA30579@xxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <9906281705.AA30579@xxxxxxxxxxxxxxxxx>
On Jun 28, 7:05pm, Peter Stephenson wrote:
} Subject: Re: PATCH: pws-24: prompt escapes for script/function and lineno
}
} "Andrej Borsenkow" wrote:
} > I would suggest just '+%N:%i> '.
}
} OK, this makes sense ---
}
} The default stays the same for sh and ksh emulations where promptpercent is
} not set.
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?
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author