mirror of https://github.com/cheat/cheat.git
chore: updates README
Edits the `README` to provid updated information regarding the shell autocompletion scripts and `fzf` integration.
This commit is contained in:
parent
9868ba2d68
commit
8b74d50f1f
12
README.md
12
README.md
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue