diff --git a/bin/windows/create_completion_files.ps1 b/bin/windows/create_completion_files.ps1 index 61f9371..44a71ec 100644 --- a/bin/windows/create_completion_files.ps1 +++ b/bin/windows/create_completion_files.ps1 @@ -16,6 +16,7 @@ wezterm shell-completion --shell power-shell > (Join-Path $script_location "wezt chezmoi completion powershell > (Join-Path $script_location "chezmoi_completion.ps1") pip completion --powershell > (Join-Path $script_location "pip_completion.ps1") rye self completion -s powershell > (Join-Path $script_location "rye_completion.ps1") +pdm completion powershell > (Join-Path $script_location "pdm_completion.ps1") # alias Set-Location $PSScriptRoot diff --git a/dotfiles/pwsh/powershell_profile.ps1 b/dotfiles/pwsh/powershell_profile.ps1 index b9e0ae5..d7e9a0f 100644 --- a/dotfiles/pwsh/powershell_profile.ps1 +++ b/dotfiles/pwsh/powershell_profile.ps1 @@ -231,3 +231,7 @@ Import-Module WSLTabCompletion Get-ChildItem ~\.config\powershell\completions\ | % { . $_ } +# Automatically appended by pdm scoop package +Get-ChildItem "$PROFILE\..\Completions\" | ForEach-Object { + . $_.FullName +}