Ripgrep: document how to install the completion files

Created on 1 Dec 2016  路  3Comments  路  Source: BurntSushi/ripgrep

The release archive ripgrep-0.3.1-x86_64-unknown-linux-musl.tar.gz contains a number of completion files, but no instructions how to use them AFAICS.

doc

Most helpful comment

Thank you, I used that info in order to write the following documentation patch.

Shell completions
=================

Bash
----

Move `rg.bash-completion` to [`$XDG_CONFIG_HOME/bash_completion`](https://github.com/scop/bash-completion/blob/master/doc/bash_completion.txt#L4) or `/etc/bash_completion.d/`.

Fish
----

Move `rg.fish` to `$HOME/.config/fish/completions`.

Apply it where you see fit.

All 3 comments

I would love to provide documentation, but I don't know how to use them myself. I could figure out bash, but I'm unlikely to figure out the others.

Thank you, I used that info in order to write the following documentation patch.

Shell completions
=================

Bash
----

Move `rg.bash-completion` to [`$XDG_CONFIG_HOME/bash_completion`](https://github.com/scop/bash-completion/blob/master/doc/bash_completion.txt#L4) or `/etc/bash_completion.d/`.

Fish
----

Move `rg.fish` to `$HOME/.config/fish/completions`.

Apply it where you see fit.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andschwa picture andschwa  路  3Comments

bastienbc picture bastienbc  路  3Comments

Limeth picture Limeth  路  3Comments

wsdjeg picture wsdjeg  路  3Comments

crumblingstatue picture crumblingstatue  路  3Comments