chore: updates README

Edits the `README` to provid updated information regarding the shell
autocompletion scripts and `fzf` integration.
This commit is contained in:
Chris Lane 2020-02-02 14:40:23 -05:00
parent 9868ba2d68
commit 8b74d50f1f
1 changed files with 10 additions and 2 deletions

View File

@ -193,9 +193,17 @@ cheat -p personal -t networking --regex -s '(?:[0-9]{1,3}\.){3}[0-9]{1,3}'
Advanced Usage Advanced Usage
-------------- --------------
`cheat` may be integrated with [fzf][]. See [fzf.bash][bash] for instructions. Shell autocompletion is currently available for the `bash` and `fish` shells.
(Support for other shells will be added in future releases.) Copy the relevant [completion script][completion-scripts] into the appropriate
directory on your filesystem to enable autocompletion. (This directory will
vary depending on operating system and shell specifics.)
Additionally, `cheat` supports enhanced autocompletion via integration with
[fzf][]. (This feature is currently available on bash only.) To enable `fzf`
integration:
1. Ensure that `fzf` is available on your `$PATH`
2. Set an envvar: `export CHEAT_USE_FZF=true`
[Releases]: https://github.com/cheat/cheat/releases [Releases]: https://github.com/cheat/cheat/releases
[bash]: https://github.com/cheat/cheat/blob/master/scripts/fzf.bash [bash]: https://github.com/cheat/cheat/blob/master/scripts/fzf.bash