Help - ash PROMPT PS1 (exitcode)

Pablo Bitton pablo.bitton at gmail.com
Wed Feb 10 15:20:50 UTC 2010


Thanks a lot!
works like a charm ;-))


On Wed, Feb 10, 2010 at 4:23 PM, Bernhard Reutner-Fischer
<rep.dot.nop at gmail.com> wrote:
> 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