doc: add '--hidden' to example configuration

This increases visibility of the fact that hidden files are skipped by
default.

Closes #2356
This commit is contained in:
Kevin Ushey 2022-11-20 12:31:18 -08:00 committed by Andrew Gallant
parent fc7e634395
commit 383d3b336b

View File

@ -567,12 +567,15 @@ $ cat $HOME/.ripgreprc
--type-add --type-add
web:*.{html,css,js}* web:*.{html,css,js}*
# Search hidden files / directories (e.g. dotfiles) by default
--hidden
# Using glob patterns to include/exclude files or folders # Using glob patterns to include/exclude files or folders
--glob=!git/* --glob=!.git/*
# or # or
--glob --glob
!git/* !.git/*
# Set the colors. # Set the colors.
--colors=line:none --colors=line:none