Make shrc work in dash again.  Put last exit status just above prompt.

Also factor out the last exit status stuff into last_command_info function.