Enable scoop completions when installed

This commit is contained in:
Kenneth Benzie 2024-08-09 20:46:23 +01:00
parent b129a0e308
commit e5a9f09709

View File

@ -6,6 +6,10 @@ $GitPromptSettings.DefaultPromptPrefix.Text = ""
$GitPromptSettings.DefaultPromptSuffix.Text = "" $GitPromptSettings.DefaultPromptSuffix.Text = ""
$GitPromptSettings.BeforeStatus = "" $GitPromptSettings.BeforeStatus = ""
$GitPromptSettings.AfterStatus = "" $GitPromptSettings.AfterStatus = ""
# Enable Scoop completions.
if (Get-Command scoop.ps1 -ErrorAction SilentlyContinue) {
Import-Module "$($(Get-Item $(Get-Command scoop.ps1).Path).Directory.Parent.FullName)\modules\scoop-completion"
}
# Enable Chocolatey completions. # Enable Chocolatey completions.
Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
# Enable op completions. # Enable op completions.