[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: feature request

From: William Park
Subject: Re: feature request
Date: Mon, 5 Jun 2006 12:58:49 -0400
User-agent: Mutt/

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='$? address@hidden:\w\$ '

$? is what you are after.

William Park <address@hidden>, Toronto, Canada
ThinFlash: Linux thin-client on USB key (flash) drive
BashDiff: Super Bash shell

reply via email to

[Prev in Thread] Current Thread [Next in Thread]