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
.B \-I, \-\-no\-ignore
Show search results from files and directories that would otherwise be ignored by
any of the files ignored by the '\-\-no\-ignore\-vcs' option,
.IR .ignore ,
.IR .fdignore ,
or the global ignore file.
.RS
.IP \[bu] 2
.I .gitignore
.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
.B \-u, \-\-unrestricted
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
.IR .gitignore ,
.IR .git/info/exclude ,
and the global gitignore configuration (
.I core.excludesFile
and the global gitignore configuration
.RI ( core.excludesFile
git setting, which defaults to
.I $HOME/.config/git/ignore
).
.IR $HOME/.config/git/ignore ).
.TP
.B \-s, \-\-case\-sensitive
Perform a case-sensitive search. By default, fd uses case-insensitive searches, unless the