summaryrefslogtreecommitdiffstats
path: root/GUIDE.md
diff options
context:
space:
mode:
authorKevin Ushey <kevinushey@gmail.com>2022-11-20 12:31:18 -0800
committerAndrew Gallant <jamslam@gmail.com>2023-07-08 18:52:42 -0400
commit383d3b336b02263a06f0488898c98aff85a083cb (patch)
treecfb2a4ba6b3b720e4650dbc4f6c9635b513135e0 /GUIDE.md
parentfc7e634395f144491e6d2dc08cb5059adbb4b1fc (diff)
doc: add '--hidden' to example configuration
This increases visibility of the fact that hidden files are skipped by default. Closes #2356
Diffstat (limited to 'GUIDE.md')
-rw-r--r--GUIDE.md7
1 files 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