mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Fix Start-DevPowerShell for Unix
This commit is contained in:
1 parent
99e4b87cc6
commit
2fe4764830
1 file changed
+6
@@ -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