Diff
1diff --git a/plugins/fd/README.md b/plugins/fd/README.md
2index cf9f7815d6d8ab8b92ec554f75555cb820ab4c67..f3341612f2aa78ad3a540531789ae894438f04d7 100644
3--- a/plugins/fd/README.md
4+++ b/plugins/fd/README.md
5@@ -7,7 +7,3 @@ To use it, add `fd` to the plugins array in your zshrc file:
6 ```zsh
7 plugins=(... fd)
8 ```
9-
10-Completion is taken from the fd release [`8.2.1`](https://github.com/sharkdp/fd/releases/tag/v8.2.1).
11-
12-Updated on April 1st, 2021.
13diff --git a/plugins/fd/_fd b/plugins/fd/_fd
14index f5d9e01d20ae9f24e5946b9e5a1e2df75cf4c078..45b8ca47763b97531684ae295e612ab08206dbb9 100644
15--- a/plugins/fd/_fd
16+++ b/plugins/fd/_fd
17@@ -1,4 +1,4 @@
18-#compdef fd fdfind
19+#compdef fd
20
21 ##
22 # zsh completion function for fd
23@@ -57,6 +57,7 @@ _fd() {
24 + no-ignore-partial # some ignore files
25 "(no-ignore-full --no-ignore-vcs)--no-ignore-vcs[don't respect .gitignore files]"
26 "!(no-ignore-full --no-global-ignore-file)--no-global-ignore-file[don't respect the global ignore file]"
27+ $no'(no-ignore-full --no-ignore-parent)--no-ignore-parent[]'
28
29 + '(case)' # case-sensitivity
30 {-s,--case-sensitive}'[perform a case-sensitive search]'
31@@ -138,6 +139,7 @@ _fd() {
32 + '(exec-cmds)' # execute command
33 '(long-listing max-results)'{-x+,--exec=}'[execute command for each search result]:command: _command_names -e:*\;::program arguments: _normal'
34 '(long-listing max-results)'{-X+,--exec-batch=}'[execute command for all search results at once]:command: _command_names -e:*\;::program arguments: _normal'
35+ '(long-listing max-results)--batch-size=[max number of args for each -X call]:size'
36
37 + other
38 '!(--max-buffer-time)--max-buffer-time=[set amount of time to buffer before showing output]:time (ms)'
39@@ -153,6 +155,9 @@ _fd() {
40 $no'(--base-directory)--base-directory=[change the current working directory to the given path]:directory:_files -/'
41 $no'(*)*--search-path=[set search path (instead of positional <path> arguments)]:directory:_files -/'
42
43+ + strip-cwd-prefix
44+ $no'(strip-cwd-prefix exec-cmds)--strip-cwd-prefix[Strip ./ prefix when output is redirected]'
45+
46 + args # positional arguments
47 '1: :_guard "^-*" pattern'
48 '(--search-path)*:directory:_files -/'
49@@ -220,7 +225,7 @@ _fd() {
50 _fd "$@"
51
52 # ------------------------------------------------------------------------------
53-# Copyright (c) 2011 Github zsh-users - http://github.com/zsh-users
54+# Copyright (c) 2011 GitHub zsh-users - http://github.com/zsh-users
55 # All rights reserved.
56 #
57 # Redistribution and use in source and binary forms, with or without