Change PROMPT_COMMAND so it allows erasing duplicates

- http://unix.stackexchange.com/a/18443
Slight fix to PROMPT_COMMAND

- use a default value of ":" (null command of bash)
Merge branch 'master' into cygwin