Minor midifications
This commit is contained in:
parent
45b53dc110
commit
0718bf28c7
|
@ -1,7 +1,7 @@
|
|||
[CmdletBinding(SupportsShouldProcess)]param()
|
||||
|
||||
$local:myAliases = [ordered]@{}
|
||||
$myAliases.sudo = 'Invoke-Sudo'
|
||||
#$myAliases.sudo = 'Invoke-Sudo'
|
||||
$myAliases.vi = 'Edit-TextFile'
|
||||
$myAliases.vim = 'Edit-TextFile'
|
||||
$myAliases.nvim = 'Edit-TextFile'
|
||||
|
|
|
@ -414,6 +414,8 @@ if ( -not $MyPSScriptRoot -or (Test-Path function:Test-IsAdmin, function:Convert
|
|||
. ProfileCode_common
|
||||
}
|
||||
|
||||
$SetupFromWeb = [bool]$(@( $SetupFromWeb, $sfw, $LoadCode ) | Where-Object { $_ })
|
||||
|
||||
if ( -not $SetupFromWeb ) {
|
||||
_setup @PSBoundParameters
|
||||
Get-Item function:_setup | Remove-Item
|
||||
|
|
Loading…
Reference in New Issue