Closed stasyaner closed 5 years ago
You seem to get the additional output
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
on every execution of wslgit. This prevents VS Code from correctly parsing the output of git.
I guess some bash startup file causes this. There is a discussion about this text on https://askubuntu.com/questions/22607 with a possible solution to remove it.
Does this fix it for you?
Oh, yeah. I should have guessed. Yeah, the resolution from that link helped. It's working fine now. Thank you a lot, @andy-5 !
Hello. Can't get it working. Tried setting WSLGIT_USE_INTERACTIVE_SHELL to false/0 but nothing. It works fine from just CMD, but not from vscode. Could you please help? Thank you.