[Pkg-rust-maintainers] Bug#908807: ripgrep: Missing zsh/fish completion functions
dana
dana at dana.is
Fri Sep 14 08:33:52 BST 2018
Package: ripgrep
Version: 0.9.0-4
The ripgrep package contains the shell completion function for bash, but not the
ones for zsh and fish.
Currently, the zsh completion function for ripgrep is maintained manually in the
`complete` directory of the source tree; it can simply be copied into the
package. The fish one is auto-generated by Clap like the bash one is.
The zsh function should live at this path:
/usr/share/zsh/vendor-completions/_rg
I *think* the fish function should live at this path:
/usr/share/fish/vendor_completions.d/rg.fish
But some packages also use this convention:
/usr/share/fish/completions/rg.fish
In any case, would it be possible to ship these other functions?
See also: https://github.com/BurntSushi/ripgrep/issues/10#issuecomment-421246927
dana
More information about the Pkg-rust-maintainers
mailing list