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", even though true always exits with > status 0.
Thanks for the report. This will be fixed in the next release of bash. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/