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

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



>
> 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



Messages sorted by: Reverse Date, Date, Thread, Author