8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04d6f26 commit c7c0536Copy full SHA for c7c0536
Modules/Git/Git.psm1
@@ -7,7 +7,9 @@ Param()
7
.DESCRIPTION
8
Sets up the proper PATH and ENV to use GitHub for Window's shell environment
9
#>
10
- if (!(Get-Command "git.exe" -ErrorAction SilentlyContinue))
+ if ((!(Get-Command "git.exe" -ErrorAction SilentlyContinue) -or
11
+ !(Get-Command "ssh.exe" -ErrorAction SilentlyContinue)) -and
12
+ (Test-Path "$env:LOCALAPPDATA\GitHub\shell.ps1"))
13
{
14
if ($env:github_shell -eq $null)
15
0 commit comments