Jaykul / PowerLine

A more PowerShell prompt
MIT License
567 stars 31 forks source link

fix(unix): Fix `Get‑SegmentedPath` on Unix #52

Closed ExE-Boss closed 5 years ago

ExE-Boss commented 5 years ago

See https://github.com/PowerShell/PowerShell/issues/10092 for details.

On Windows, Split-Path '/' already returns the empty string.