Update cheatsheet_syntax.md

This commit is contained in:
Rubem Pacelli 2023-12-03 20:24:13 -03:00 committed by GitHub
parent dbd077435e
commit 0f41e07073
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,11 @@ By default, the `.cheat` files should be stored at `~/.local/share/navi/cheats/`
```
navi info cheats-path
```
prints to you all paths used to search for `.cheat` files. It's irrelevant how many files are used to store cheatsheets. They can be all in a single file if you wish, as long as you split them accordingly with lines starting with `%`.
prints to you all paths used to search for `.cheat` files. You can also use the `--path` option to pass custom colon-separed paths to `navi` at runtime, e.g.,
```
navi --path '/some/dir:/other/dir'
```
It's irrelevant how many files are used to store cheatsheets. They can be all in a single file if you wish, as long as you split them accordingly with lines starting with `%`.
### Variables