Fix Start-DevPowerShell for Unix

This commit is contained in:
Sergei Vorobev 2016-07-27 10:55:42 -07:00
parent 99e4b87cc6
commit 2fe4764830

View File

@ -895,6 +895,12 @@ function Start-DevPowerShell {
)
try {
if ((-not $NoNewWindow) -and ($IsLinux -or $IsOSX))
{
Write-Warning "Start-DevPowerShell -NoNewWindow is implied on non-windows systems"
$NoNewWindow = $true
}
if (-not $LoadProfile) {
$ArgumentList = @('-noprofile') + $ArgumentList
}