Skip to content

Commit dc0f9d5

Browse files
authored
Merge pull request #20008 from Homebrew/powershell-completion
feat: add _ to powershell completion filename
2 parents 9acd68b + 24cd621 commit dc0f9d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Library/Homebrew/formula.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2126,7 +2126,7 @@ def generate_completions_from_executable(*commands,
21262126
bash: bash_completion/base_name,
21272127
zsh: zsh_completion/"_#{base_name}",
21282128
fish: fish_completion/"#{base_name}.fish",
2129-
pwsh: pwsh_completion/"#{base_name}.ps1",
2129+
pwsh: pwsh_completion/"_#{base_name}.ps1",
21302130
}
21312131

21322132
shells.each do |shell|

0 commit comments

Comments
 (0)