Updated profile
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user