add colours for pd -d 1 and pd -d 2 and also auto-disable all colouring when redirecting to a file or pipe