mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-05-19 01:30:21 -07: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:
parent
fc7e634395
commit
383d3b336b
7
GUIDE.md
7
GUIDE.md
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user