[cwd] Display Unix-style path in Git Bash prompt
mloskot opened this issue · 0 comments
mloskot commented
Is your feature request related to a problem? Please describe.
On Windows, in Git Bash, powerline-go -modules cwd
displays current location in format of Windows-style path,
This is perfectly fine in PowerShell, but it is a bit of visually confusing in Git Bash (i.e. in Bash):
Describe the solution you'd like
It would be helpful, if the cwd
module could distinguish Git Bash from PowerShell and display path in Unix-style in prompt, i.e. /d
and /d/nanodbc
for the case from the screenshot.
Describe alternatives you've considered
n/a
Additional context
- powerline-go 1.22.1
- Windows 11
- Windows Terminal 1.16.10262.0
- Git Bash from
git version 2.39.2.windows.1