Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cwd] Display Unix-style path in Git Bash prompt #379

Open
mloskot opened this issue Mar 15, 2023 · 0 comments
Open

[cwd] Display Unix-style path in Git Bash prompt #379

mloskot opened this issue Mar 15, 2023 · 0 comments

Comments

@mloskot
Copy link

mloskot commented Mar 15, 2023

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):

image

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant