Updated profile

This commit is contained in:
2025-02-26 18:23:53 +01:00
parent 711fdc7701
commit 80dc2c3f3d

View File

@@ -14,14 +14,6 @@ if (Get-Module -ListAvailable -Name gsudoModule)
Write-Host "gsudoModule module not found" -ForegroundColor Red 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 # aliases
Set-Alias -Name reboot -Value Restart-Computer Set-Alias -Name reboot -Value Restart-Computer
Set-Alias -Name shutdown -Value Stop-Computer Set-Alias -Name shutdown -Value Stop-Computer
@@ -234,4 +226,8 @@ if (Get-Command -Name starship -ErrorAction SilentlyContinue)
{ {
Invoke-Expression (&starship init powershell) Invoke-Expression (&starship init powershell)
} }
if (Get-Command -Name direnv -ErrorAction SilentlyContinue)
{
Invoke-Expression "$(direnv hook pwsh)"
}
randomscript randomscript