On Tue, Nov 17, 2015 at 4:16 PM, Ángel González 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
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
On 11/15/15 10:55 PM, Chris Marusich wrote:
> Hi,
>
> I like to set up my PS1 to show the exit status of the last command I
> ran. I've noticed that this doesn't seem to work as expected when I
> use the "fc" builtin. When I do the following, the final exit status
> appears to be reported as "1",