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:
parent
fc7e634395
commit
383d3b336b
7
GUIDE.md
7
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user