Add support for Fish-based autocompletion (#71)

This commit is contained in:
Natalie Pendragon 2018-12-11 06:10:49 -05:00 committed by Danilo Bargen
commit 89a2595495
2 changed files with 24 additions and 4 deletions

View file

@ -178,11 +178,10 @@ Example customization:
<img src="screenshot-custom.png" alt="Screenshot of customized version" width="600">
## Bash Autocompletion
To get bash autocompletion, simply rename the file `bash_tealdeer` to `tldr`
and copy it to `/usr/share/bash-completion/completions/tldr`.
## Autocompletion
- *Bash*: copy `bash_tealdeer` to `/usr/share/bash-completion/completions/tldr`
- *Fish*: copy `fish_tealdeer` to `~/.config/fish/completions/tldr.fish`
## Development