On Wed, May 31, 2006 at 04:49:36PM -0500, A P Garcia wrote:
> It would be very useful to have a shell option that displays the exit
> code of each command when it terminates.
I'm currently using
PS1='$? [EMAIL PROTECTED]:\w\$ '
$? is what you are after.
--
William Park <[EMAIL PROTECTED]>, Toronto, Canada
ThinFlash: Linux thin-client on USB key (flash) drive
http://home.eol.ca/~parkw/thinflash.html
BashDiff: Super Bash shell
http://freshmeat.net/projects/bashdiff/
_______________________________________________
Bug-bash mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-bash