1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-04-02 20:45:38 +02:00

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
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