Fixes %~ to resolve properly in your prompt.
Merge pull request #1 from afaur/patch-1

Fixes %~ to resolve properly in your prompt.