Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: pws-24: prompt escapes for script/function and lineno



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