Add support for colored prompts using the PS9 variable.