From 0f41e07073b48461a1db47cf4a191ad5f9f44e7f Mon Sep 17 00:00:00 2001 From: Rubem Pacelli Date: Sun, 3 Dec 2023 20:24:13 -0300 Subject: [PATCH] Update cheatsheet_syntax.md --- docs/cheatsheet_syntax.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/cheatsheet_syntax.md b/docs/cheatsheet_syntax.md index 4dbb74e..c5a44b6 100644 --- a/docs/cheatsheet_syntax.md +++ b/docs/cheatsheet_syntax.md @@ -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