dahlbyk/posh-git — pull request #151 by vdyckn (2014-07-25 18:12:24+00:00)
Title: update prompt (PSDirve)

When you have custom PSDrives set to acces long UNC or file paths, posh git will always override the prompt to the original path (ProviderPaht).

Instead it would be nice that posh git behaves like powershell and updates the prompt to the path from the psprovider.

Example:
When you have the following PSDrive set:
```
Name Used (GB) Free (GB) Provider Root CurrentLocation
---- --------- --------- -------- ---- ---------------
Projects 62.41 FileSystem C:\Users\\Documents\Projects
LongPath FileSystem \\Verry\\long\\unc\path
```

Posh git always updates the prompt to the original path:
```
PS C:\Users\\Documents\Projects\Dir [master]>
```

This updates fixes this problem and makes posh-git behave as default powershell.

```
PS Projects:\Dir [master]>
```

Because at work I have many PSDrives mapping to UNC paths these long paths keep clogging up my prompt.

Maybe there is a reason why you wouldn't use it, but I couldn't find anything against this in the commits and issues.