darwin only; write to defaults.sh
PROMPT_COMMAND correcting