Prompt character colour coded by last command return value; Detached git branch now highlighted in red, otherwise in green