Put directory inside escaped square brackets inside prompt. This fixes a problem where the cursor starts inside the prompt. I'm not sure why.
Merge branch 'master' of https://github.com/vladh/dotfiles