mirror of
https://github.com/PowerShell/PowerShell.git
synced 2024-11-23 09:43:57 +08:00
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 New Issue
Block a user