mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 14:43:55 +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
|
# Ignore some commands' gazillion man pages
|
||||||
# for subcommands - especially things we already have
|
# for subcommands - especially things we already have
|
||||||
ignored_prefixes = [
|
ignored_prefixes = [
|
||||||
"bundle-"
|
"bundle-",
|
||||||
"cargo-",
|
"cargo-",
|
||||||
"ffmpeg-",
|
"ffmpeg-",
|
||||||
"flatpak-",
|
"flatpak-",
|
||||||
|
@ -802,7 +802,7 @@ def parse_manpage_at_path(manpage_path, output_directory):
|
||||||
"perf-",
|
"perf-",
|
||||||
"perl",
|
"perl",
|
||||||
"pip-",
|
"pip-",
|
||||||
"zsh"
|
"zsh",
|
||||||
]
|
]
|
||||||
for prefix in ignored_prefixes:
|
for prefix in ignored_prefixes:
|
||||||
if CMDNAME.startswith(prefix):
|
if CMDNAME.startswith(prefix):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user