Closed pacanukeha closed 1 year ago
@pacanukeha yes, this by design as the native git in WSL doesn't work well for all git functionality when in the Windows mounted drive. The best thing to do is to have git.exe available, alternatively set native_fallback
to true
in the git segment's properties.
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a discussion first, complete the body with all the details necessary to reproduce, and mention this issue as reference.
Code of Conduct
What happened?
I have oh-my-posh installed in Ubuntu 22.04 LTS / windows terminal / WSL from linuxbrew. In git directories within my wsl file system I see "on git: master" in my prompt In git directories mounted from the windows host using the Plan 9 fs the prompt does not detect the presence of the .git directory and doesn't display the git status information It tries to use the windows git.exe program instead of the linux git executable and it isn't on the $PATH
Theme
honukai
What OS are you seeing the problem on?
Windows
Which shell are you using?
bash
Log output