Git segment working on WSL2 but not in a Windows shared folder #2754
Answered
by
JanDeDobbeleer
maxboaventura
asked this question in
Troubleshoot
|
Today I've tested this amazing tool for the first time, downloading the latest version on my WSL2 Ubuntu, but the Git segment is not working outside the WSL drive. If I change to a folder in the /mnt path the Git segment is missing. I usually have a few things placed in my Windows user Document folder and would love to see it working for things placed over there. Checking the code on git_test.go I presume that the issue is related to tests checking the SharedDrive. |
Answered by
JanDeDobbeleer
Sep 5, 2022
Replies: 1 comment
|
In the shared drive, it will use git.exe as calling linux executables is slow in that context. This probably means that you don't have git installed in Windows. To validate that assumption, you can run |
0 replies
Answer selected by
maxboaventura
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the shared drive, it will use git.exe as calling linux executables is slow in that context. This probably means that you don't have git installed in Windows. To validate that assumption, you can run
oh-my-posh debugin that location.