Help - ash PROMPT PS1 (exitcode)

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Wed Feb 10 14:23:21 UTC 2010


On Wed, Feb 10, 2010 at 03:51:42PM +0200, Pablo Bitton wrote:
>Hi, I was searching how to add the program exit code to ash's PROMPT
>
>the bash syntax is easy : PS1='blah $? '

export PS1="\\w [\$?] \\$ "


More information about the busybox mailing list