File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ Set-Alias -Name la -Value Get-ChildItemPretty
19
19
Set-Alias - Name ll - Value Get-ChildItemPretty
20
20
Set-Alias - Name ls - Value Get-ChildItemPretty
21
21
Set-Alias - Name rm - Value Remove-ItemExtended
22
- Set-Alias - Name su - Value sudo
22
+ Set-Alias - Name su - Value gsudo
23
23
Set-Alias - Name tif Show-ThisIsFine
24
24
Set-Alias - Name touch - Value New-File
25
25
Set-Alias - Name up - Value Update-Profile
@@ -64,7 +64,7 @@ function Update-Profile {
64
64
65
65
Write-Verbose " Rerunning setup script to capture any new dependencies."
66
66
if (Get-Command - Name gsudo - ErrorAction SilentlyContinue) {
67
- sudo ./ Setup.ps1
67
+ gsudo ./ Setup.ps1
68
68
}
69
69
else {
70
70
Start-Process wezterm - Verb runAs - WindowStyle Hidden - ArgumentList " start --cwd $PWD pwsh -NonInteractive -Command ./Setup.ps1"
@@ -83,10 +83,10 @@ function Update-Software {
83
83
Updates all software installed via Winget & Chocolatey. Alias: us
84
84
#>
85
85
Write-Verbose " Updating software installed via Winget & Chocolatey"
86
- sudo cache on
87
- sudo winget upgrade -- all -- include- unknown -- silent -- verbose
88
- sudo choco upgrade all - y
89
- sudo - k
86
+ gsudo cache on
87
+ gsudo winget upgrade -- all -- include- unknown -- silent -- verbose
88
+ gsudo choco upgrade all - y
89
+ gsudo - k
90
90
$ENV: SOFTWARE_UPDATE_AVAILABLE = " "
91
91
}
92
92
You can’t perform that action at this time.
0 commit comments