mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 09:28:31 +08:00
create_manpage_completions: Really ignore bundle/cargo
This commit is contained in:
parent
a913702b63
commit
81d91f1038
|
@ -791,7 +791,7 @@ def parse_manpage_at_path(manpage_path, output_directory):
|
|||
# Ignore some commands' gazillion man pages
|
||||
# for subcommands - especially things we already have
|
||||
ignored_prefixes = [
|
||||
"bundle-"
|
||||
"bundle-",
|
||||
"cargo-",
|
||||
"ffmpeg-",
|
||||
"flatpak-",
|
||||
|
@ -802,7 +802,7 @@ def parse_manpage_at_path(manpage_path, output_directory):
|
|||
"perf-",
|
||||
"perl",
|
||||
"pip-",
|
||||
"zsh"
|
||||
"zsh",
|
||||
]
|
||||
for prefix in ignored_prefixes:
|
||||
if CMDNAME.startswith(prefix):
|
||||
|
|
Loading…
Reference in New Issue
Block a user