Skip to content
Myr

Merge pull request #1285 from tmccombs/doc-update

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Add documentation and zsh updates

authored by Thayne McCombs · committed by GitHub · parents bae0a1b, 399bf3a · Browse files · 2 files+14 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+14 added−1 removed

  • other:+14 added−1 removed

2 files+14 added−1 removed

modified:contrib/completion/_fd+9 added-1 removed
34 unmodified lines
35 # style set. Note that this prefix check has to be updated manually to account36 # for all of the potential negation options listed below!37 if38 # (--[bpsu]* => match all options marked with '$no')39 [[ $PREFIX$SUFFIX == --[bopsu]* ]] ||39 [[ $PREFIX$SUFFIX == --[bopsun]* ]] ||40 zstyle -t ":complete:$curcontext:*" complete-all41 then42 no=43 fi
25 unmodified lines
69 + '(no-regex-pattern)' # non-regex-based search pattern70 {-g,--glob}'[perform a glob-based search]'71 {-F,--fixed-strings}'[treat pattern as literal string instead of a regex]'7273 + '(no-require-git)'74 "$no(no-ignore-full --no-ignore-vcs --no-require-git)--no-require-git[don't require git repo to respect gitignores]"7576 + '(match-full)' # match against full path77 {-p,--full-path}'[match the pattern against the full path instead of the basename]'7879 + '(follow)' # follow symlinks
40 unmodified lines
120 '*--ignore-file=[add a custom, low-precedence ignore-file with .gitignore format]: :_files'121122 + '(filter-mtime-newer)' # filter by files modified after than123 '--changed-within=[limit search to files/directories modified within the given date/duration]:date or duration'124 '--changed-after=[alias for --changed-within]:date/duration'125 '!--change-newer-than=:date/duration'126 '!--newer=:date/duration'127128 + '(filter-mtime-older)' # filter by files modified before than
32 unmodified lines
161162 + strip-cwd-prefix163 $no'(strip-cwd-prefix exec-cmds)--strip-cwd-prefix[Strip ./ prefix when output is redirected]'164165 + and166 '--and=[additional required search path]:pattern'167168169 + args # positional arguments170 '1: :_guard "^-*" pattern'171 '(--search-path)*:directory:_files -/'172 )
109 unmodified lines
modified:doc/fd.1+5 added
100 unmodified lines
101.B \-F, \-\-fixed\-strings102Treat the pattern as a literal string instead of a regular expression. Note that this also103performs substring comparison. If you want to match on an exact filename, consider using '\-\-glob'.104.TP105.BI "\-\-and " pattern106Add additional required search patterns, all of which must be matched. Multiple additional107patterns can be specified. The patterns are regular expressions, unless '\-\-glob'108or '\-\-fixed\-strings' is used.109.TP110.B \-a, \-\-absolute\-path111Shows the full path starting from the root as opposed to relative paths.112The flag can be overridden with '--relative-path'.113.TP
367 unmodified lines