Make list of ignore files for `--no-ignore` more explicit

This commit is contained in:
Thayne McCombs 2021-08-11 01:22:01 -06:00 committed by David Peter
parent 1b52948e42
commit 78e21395b8
1 changed files with 20 additions and 8 deletions

28
doc/fd.1 vendored
View File

@ -32,10 +32,23 @@ Include hidden files and directories in the search results
.TP .TP
.B \-I, \-\-no\-ignore .B \-I, \-\-no\-ignore
Show search results from files and directories that would otherwise be ignored by Show search results from files and directories that would otherwise be ignored by
any of the files ignored by the '\-\-no\-ignore\-vcs' option, .RS
.IR .ignore , .IP \[bu] 2
.IR .fdignore , .I .gitignore
or the global ignore file. .IP \[bu]
.I .git/info/exclude
.IP \[bu]
The global gitignore configuration (by default
.IR $HOME/.config/git/ignore )
.IP \[bu]
.I .ignore
.IP \[bu]
.I .fdignore
.IP \[bu]
The global fd ignore file (usually
.I $HOME/.config/fd/ignore
)
.RE
.TP .TP
.B \-u, \-\-unrestricted .B \-u, \-\-unrestricted
Alias for '--no-ignore'. Can be repeated; '-uu' is an alias for '--no-ignore --hidden'. Alias for '--no-ignore'. Can be repeated; '-uu' is an alias for '--no-ignore --hidden'.
@ -45,11 +58,10 @@ Show search results from files and directories that would otherwise be ignored b
including including
.IR .gitignore , .IR .gitignore ,
.IR .git/info/exclude , .IR .git/info/exclude ,
and the global gitignore configuration ( and the global gitignore configuration
.I core.excludesFile .RI ( core.excludesFile
git setting, which defaults to git setting, which defaults to
.I $HOME/.config/git/ignore .IR $HOME/.config/git/ignore ).
).
.TP .TP
.B \-s, \-\-case\-sensitive .B \-s, \-\-case\-sensitive
Perform a case-sensitive search. By default, fd uses case-insensitive searches, unless the Perform a case-sensitive search. By default, fd uses case-insensitive searches, unless the