diff options
| author | Brandon Conway <brandoncc@hey.com> | 2020-09-13 19:44:16 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-13 22:44:16 -0400 |
| commit | 5b4458ebea9874bb5c44fdd9b933b584dcb09752 (patch) | |
| tree | 232ebb42063de652a23733db9d1ea1f1b837f2f1 | |
| parent | 0a734ae49d166a56e4f02295ee97508180160491 (diff) | |
Document the optional find_command setting (#74)
| -rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -178,7 +178,7 @@ Handy documentation, showcase of all tools available in Telescope. require'telescope.builtin'.git_files{} ``` -Search your files in a git repo. Ignores files in your .gitignore. +Search your files in a git repo. Ignores files in your .gitignore. You can optionally override the find command. Note: Requires the `cwd` to be a git directory. @@ -186,6 +186,7 @@ Note: Requires the `cwd` to be a git directory. require'telescope.builtin'.find_files{ -- Optional -- cwd = "/home/tj/" + -- find_command = { "rg", "-i", "--hidden", "--files", "-g", "!.git" } } ``` Searches files in your working directory. |
