feat(scanner): add option not to follow symlinks (#5325)

Add follow_symlinks option

Settings this to false can fix hanging on symlinks to slow/inaccessible
filesystems.
This commit is contained in:
Ohad Lutzky
2023-11-02 08:01:09 +00:00
committed by GitHub
parent ca5851d155
commit 7b851fc30e
4 changed files with 97 additions and 13 deletions
+8
View File
@@ -219,6 +219,14 @@ This is the list of prompt-wide configuration options.
| `add_newline` | `true` | Inserts blank line between shell prompts. |
| `palette` | `''` | Sets which color palette from `palettes` to use. |
| `palettes` | `{}` | Collection of color palettes that assign [colors](/advanced-config/#style-strings) to user-defined names. Note that color palettes cannot reference their own color definitions. |
| `follow_symlinks` | `true` | Follows symlinks to check if they're directories; used in modules such as git. |
::: tip
If you have symlinks to networked filesystems, consider setting
`follow_symlinks` to `false`.
:::
### Example