Fix Start-DevPowerShell for Unix
This commit is contained in:
parent
99e4b87cc6
commit
2fe4764830
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue