From 383d3b336b02263a06f0488898c98aff85a083cb Mon Sep 17 00:00:00 2001 From: Kevin Ushey Date: Sun, 20 Nov 2022 12:31:18 -0800 Subject: [PATCH] doc: add '--hidden' to example configuration This increases visibility of the fact that hidden files are skipped by default. Closes #2356 --- GUIDE.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/GUIDE.md b/GUIDE.md index ef54fe7f..d81db04b 100644 --- a/GUIDE.md +++ b/GUIDE.md @@ -567,12 +567,15 @@ $ cat $HOME/.ripgreprc --type-add web:*.{html,css,js}* +# Search hidden files / directories (e.g. dotfiles) by default +--hidden + # Using glob patterns to include/exclude files or folders ---glob=!git/* +--glob=!.git/* # or --glob -!git/* +!.git/* # Set the colors. --colors=line:none