Dan Ritter (12020-10-20):
> I have this in my PS1 definition:
> 
> \$(if [[ \$? == 0 ]]; then echo \"+\"; else echo \"-\"; fi)\
> 
> Which has the effect of telling me the rough exit status of the
> last command in my prompt. 

With zsh, I suggest "setopt pritexitvalue".

Regards,

-- 
  Nicoals George

Attachment: signature.asc
Description: PGP signature

Reply via email to