On Tue, Nov 17, 2015 at 4:16 PM, Ángel González <an...@16bits.net> wrote:
> While we are talking about new prompt escapes, I would love to be able > to put in the prompt escapes elapsed time values from the previous > command, so prefixing with time(1) could be redundant (if the intended > resource was provided as an escape). > > Regards > > Do you mean something like: PS1='$SECONDS ' (along with shopt -o promptvars) -- Visit serverfault.com to get your system administration questions answered.