mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Fix Start-DevPowerShell for Unix
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user