diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index 08e6715..9e97829 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -14,14 +14,6 @@ if (Get-Module -ListAvailable -Name gsudoModule) 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 Set-Alias -Name shutdown -Value Stop-Computer @@ -234,4 +226,8 @@ if (Get-Command -Name starship -ErrorAction SilentlyContinue) { Invoke-Expression (&starship init powershell) } +if (Get-Command -Name direnv -ErrorAction SilentlyContinue) +{ + Invoke-Expression "$(direnv hook pwsh)" +} randomscript