Revert "[bash] Ugly fix for the initial return code in the prompt"

This reverts commit 32a66de5636bcf1ca7082e05296f75ef9d074e45.