Skip to content

Commit 383d3b3

Browse files
kevinusheyBurntSushi
authored andcommitted
doc: add '--hidden' to example configuration
This increases visibility of the fact that hidden files are skipped by default. Closes BurntSushi#2356
1 parent fc7e634 commit 383d3b3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

GUIDE.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -567,12 +567,15 @@ $ cat $HOME/.ripgreprc
567567
--type-add
568568
web:*.{html,css,js}*
569569
570+
# Search hidden files / directories (e.g. dotfiles) by default
571+
--hidden
572+
570573
# Using glob patterns to include/exclude files or folders
571-
--glob=!git/*
574+
--glob=!.git/*
572575
573576
# or
574577
--glob
575-
!git/*
578+
!.git/*
576579
577580
# Set the colors.
578581
--colors=line:none

0 commit comments

Comments
 (0)