We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d698d0 commit 09f31e2Copy full SHA for 09f31e2
1 file changed
GitSetup.ps1
@@ -38,9 +38,6 @@ function CheckPowerShellVersion
38
Write-Error "You are not running PowerShell version 5+! Please upgrade."
39
}
40
41
- if($PSVersionTable.PSVersion.Major -ge 7) {
42
- Get-PackageProvider -Name "NuGet" | Install-PackageProvider -Verbose -Force
43
- }
44
Import-PackageProvider NuGet -Force
45
46
@@ -99,6 +96,7 @@ function DownloadGit
99
96
Set-Alias g git # Use Git commands but just typing 'g'
100
97
Set-Alias ex explorer # Open a File Explorer with 'ex .'
101
98
+Import-Module posh-git
102
Import-Module posh-sshell
103
Start-Service ssh-agent
104
"@
@@ -228,6 +226,7 @@ function SetupPoshGit
228
226
$text = @"
229
227
230
# Load Posh-git
231
232
233
# Load SSH-agent with password
0 commit comments