Fixes %~ to resolve properly in your prompt.