fix(Posh-VsVars): better post-install message

This commit is contained in:
Iristyle
2013-05-09 14:10:46 -04:00
parent 860a6462e5
commit f7278662f0

View File

@@ -58,10 +58,13 @@ try {
$loaderFile = 'Posh-VsVars-Profile.ps1'
"`n`n# Load Posh-VsVars`n. '$installDirectory\$loaderFile'" |
Out-File -FilePath $PROFILE -Append -Encoding (Get-FileEncoding $PROFILE)
Write-Host 'Reloading PowerShell Profile...'
. $PROFILE
}
Write-Host @'
Reload the current profile to access Posh-VsVars with:
. $PROFILE
'@
Write-ChocolateySuccess $package
}
catch