Use PROMPT_COMMAND in place of PS1 to enable coloured git prompt