Keep Windows fixes separate
This commit is contained in:
parent
7eb0c61cf6
commit
06d9de5b30
1 changed files with 12 additions and 9 deletions
|
@ -39,6 +39,8 @@ $null = New-Module {
|
|||
|
||||
$Global:InOperation = $true;
|
||||
$Global:ErrorActionPreference = $NonInteractive.IsPresent ? 'Continue' : 'Inquire';
|
||||
|
||||
if ($IsWindows) {
|
||||
$env:WSLENV = "CONFIG_MODULE/p";
|
||||
|
||||
if ($env:CONFIG_MODULE) {
|
||||
|
@ -50,6 +52,7 @@ $null = New-Module {
|
|||
}
|
||||
|
||||
New-Alias -Force "sudo" gsudo;
|
||||
}
|
||||
|
||||
if (-not $NoImplicitCleanup.IsPresent) {
|
||||
$cleanup = {
|
||||
|
|
Loading…
Reference in a new issue