change prompt to indicate previous command return code