formula: remove pwsh from default completion shells
Fixes https://github.com/Homebrew/brew/pull/19407#issuecomment-2694083829
This commit is contained in:
parent
e401eee162
commit
807709622b
@ -2102,7 +2102,7 @@ class Formula
|
|||||||
}
|
}
|
||||||
def generate_completions_from_executable(*commands,
|
def generate_completions_from_executable(*commands,
|
||||||
base_name: nil,
|
base_name: nil,
|
||||||
shells: [:bash, :zsh, :fish, :pwsh],
|
shells: [:bash, :zsh, :fish],
|
||||||
shell_parameter_format: nil)
|
shell_parameter_format: nil)
|
||||||
executable = commands.first.to_s
|
executable = commands.first.to_s
|
||||||
base_name ||= File.basename(executable) if executable.start_with?(bin.to_s, sbin.to_s)
|
base_name ||= File.basename(executable) if executable.start_with?(bin.to_s, sbin.to_s)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user