Update powershell shit

This commit is contained in:
2024-02-02 22:28:57 -04:00
parent 8918c9d197
commit 69c1645301
4 changed files with 53 additions and 1 deletions

View File

@@ -1,2 +1,10 @@
# Scoop search
Invoke-Expression (&scoop-search --hook)
# Scoop completion
Import-Module "$($(Get-Item $(Get-Command scoop.ps1).Path).Directory.Parent.FullName)\modules\scoop-completion"
# Chezmoi
if (Get-Command chezmoi -ErrorAction SilentlyContinue) { chezmoi completion powershell | Out-String | Invoke-Expression }
if (Get-Command chezmoi -ErrorAction SilentlyContinue) { chezmoi completion powershell | Out-String | Invoke-Expression }
# LunarVim
Set-Alias lvim 'C:\Users\Isaac\.local\bin\lvim.ps1'
# Github CLI
Invoke-Expression -Command $(gh completion -s powershell | Out-String)