你如何为 firefox 安装 fishshell 完成和联机帮助页

How do you install fishshell completions and manpages for firefox

我想为 fish 中的 firefox 浏览器生成自动完成补全 shell。例如,这个 firefox.fish 在 github 上找到。

我已经尝试 fish_update_completions 来更新可用的完成,但是这不起作用,因为这台机器上没有 firefox 的联机帮助页。如何为 firefox 安装联机帮助页?

我的环境变量是:

ProductName:    macOS
ProductVersion: 11.2
BuildVersion:   20D64
Firefox:        86.0 (64-bit)

谢谢。

Firefox 显然不提供上游手册页(通过 https://bugzilla.mozilla.org/show_bug.cgi?id=1381866#c6 and https://bugzilla.redhat.com/show_bug.cgi?id=1334025), so you'll have to get one from a distro (e.g. Ubuntu's),您自己编写手册页,或编写自己的完成脚本。

请注意,显然所有可用的手册页都已严重过时,因此从中生成完成也会产生过时的完成。