Fix a bug in determing the exit status of last shell command (#207)
Fix a bug in determing the exit status of last shell command (#207)

The exit status of last shell command was not determined at the very beginning of the `compile_prompt` function that might have caused wrong code output.
arcticicestudio/igloo,arcticicestudio/igloo,arcticicestudio/igloo