From 78e21395b8d31f20d67149915c001436e89f3b96 Mon Sep 17 00:00:00 2001 From: Thayne McCombs Date: Wed, 11 Aug 2021 01:22:01 -0600 Subject: [PATCH] Make list of ignore files for `--no-ignore` more explicit --- doc/fd.1 | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/doc/fd.1 b/doc/fd.1 index 265e298..69e8438 100644 --- a/doc/fd.1 +++ b/doc/fd.1 @@ -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