This PR:
1) Adds scoop_git_bash to windows bash candidates. Scoop installs git for windows at ~/scoop/apps/git/current and sets the environment variable to $GIT_INSTALL_ROOT to this path.
2) Prioritizes Windows' bash over wsl bash. WSL bash causes errors for many reasons, some of which include:
wsl bash may exist on the $PATH but not be installed
wsl may not be started (which may cause an error)
wsl cannot start due to hyper-v being disabled
Tested successfully on:
vim + Git Bash / mintty
nvim + cmd
nvim + Git Bash doesn't work and hasn't worked for quite a while.
This PR: 1) Adds scoop_git_bash to windows bash candidates. Scoop installs git for windows at ~/scoop/apps/git/current and sets the environment variable to $GIT_INSTALL_ROOT to this path. 2) Prioritizes Windows' bash over wsl bash. WSL bash causes errors for many reasons, some of which include:
Tested successfully on:
nvim + Git Bash doesn't work and hasn't worked for quite a while.