Updated profile

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2024-08-21 19:53:54 +02:00
parent ecda9cbfad
commit 45ff5e1e5f

View File

@@ -1,6 +1,20 @@
if (Get-Module -ListAvailable -Name PSWindowsUpdate) {
Import-Module -Name PSWindowsUpdate
} else {
Write-Host "PSWindowsUpdate module not found" -ForegroundColor Red
}
if (Get-Module -ListAvailable -Name gsudoModule) {
Import-Module -Name gsudoModule
Import-module -Name Terminal-Icons
} else {
Write-Host "gsudoModule module not found" -ForegroundColor Red
}
if (Get-Module -ListAvailable -Name Terminal-Icons) {
Import-Module -Name Terminal-Icons
} else {
Write-Host "Terminal-Icons module not found" -ForegroundColor Red
}
# aliases
Set-Alias -Name reboot -Value Restart-Computer