This file is indexed.

/usr/share/zsh/vendor-completions/_curl is in curl 7.58.0-2ubuntu3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
#compdef curl

# curl zsh completion

local curcontext="$curcontext" state state_descr line
typeset -A opt_args

local rc=1

_arguments -C -S \
  {-c,--cookie-jar}'[Write cookies to <filename> after operation]':'<filename>':_files \
  {-D,--dump-header}'[Write the received headers to <filename>]':'<filename>':_files \
  {-y,--speed-time}'[Trigger '\''speed-limit'\'' abort after this time]':'<seconds>' \
  --proxy-cacert'[CA certificate to verify peer against for proxy]':'<file>':_files \
  {-E,--cert}'[Client certificate file and password]':'<certificate[:password]>' \
  --libcurl'[Dump libcurl equivalent code of this command line]':'<file>':_files \
  --proxy-capath'[CA directory to verify peer against for proxy]':'<dir>':_files \
  --proxy-negotiate'[HTTP Negotiate (SPNEGO) authentication on the proxy]':'Use' \
  --crlfile'[Get a CRL list in PEM format from the given file]':'<file>':_files \
  --proxy-insecure'[HTTPS proxy connections without verifying the proxy]':'Do' \
  --proxy-ssl-allow-beast'[security flaw for interop for HTTPS proxy]':'Allow' \
  --abstract-unix-socket'[Connect via abstract Unix domain socket]':'<path>' \
  --pinnedpubkey'[FILE/HASHES Public key to verify peer against]':'<hashes>' \
  --proxy-pass'[Pass phrase for the private key for HTTPS proxy]':'<phrase>' \
  --socks5-hostname'[SOCKS5 proxy, pass host name to proxy]':'<host[:port]>' \
  --proto-default'[Use PROTOCOL for any URL missing a scheme]':'<protocol>' \
  {-p,--proxytunnel}'[Operate through a HTTP proxy tunnel (using CONNECT)]' \
  --socks5-gssapi-service'[SOCKS5 proxy service name for GSS-API]':'<name>' \
  --ftp-alternative-to-user'[String to replace USER \[name\]]':'<command>' \
  --ftp-ssl-control'[SSL/TLS for FTP login, clear for transfer]':'Require' \
  --resolve'[Resolve the host+port to this address]':'<host:port:address>' \
  {-T,--upload-file}'[Transfer local FILE to destination]':'<file>':_files \
  --local-port'[Force use of RANGE for local port numbers]':'<num/range>' \
  --proxy-tlsauthtype'[TLS authentication type for HTTPS proxy]':'<type>' \
  {-R,--remote-time}'[Set the remote file'\''s time on the local output]' \
  --retry-connrefused'[on connection refused (use with --retry)]':'Retry' \
  --suppress-connect-headers'[proxy CONNECT response headers]':'Suppress' \
  {-j,--junk-session-cookies}'[session cookies read from file]':'Ignore' \
  --location-trusted'[--location, and send auth to other hosts]':'Like' \
  {-O,--remote-name}'[Write output to a file named as the remote file]' \
  --trace-ascii'[Like --trace, but without hex output]':'<file>':_files \
  --connect-timeout'[Maximum time allowed for connection]':'<seconds>' \
  --expect100-timeout'[How long to wait for 100-continue]':'<seconds>' \
  {-g,--globoff}'[Disable URL sequences and ranges using {} and \[\]]' \
  --proxy-cert-type'[Client certificate type for HTTS proxy]':'<type>' \
  --dns-ipv4-addr'[IPv4 address to use for DNS requests]':'<address>' \
  --dns-ipv6-addr'[IPv6 address to use for DNS requests]':'<address>' \
  --ignore-content-length'[the size of the remote resource]':'Ignore' \
  {-k,--insecure}'[Allow insecure server connections when using SSL]' \
  --mail-auth'[Originator address of the original email]':'<address>' \
  --noproxy'[List of hosts which do not use proxy]':'<no-proxy-list>' \
  --proto-redir'[Enable/disable PROTOCOLS on redirect]':'<protocols>' \
  --dns-interface'[Interface to use for DNS requests]':'<interface>' \
  --hostpubmd5'[Acceptable MD5 hash of the host public key]':'<md5>' \
  --keepalive-time'[Interval time for keepalive probes]':'<seconds>' \
  --proxy-cert'[Set client certificate for proxy]':'<cert[:passwd]>' \
  --random-file'[File for reading random data from]':'<file>':_files \
  --socks5-basic'[Enable username/password auth for SOCKS5 proxies]' \
  --cacert'[CA certificate to verify peer against]':'<file>':_files \
  {-H,--header}'[Pass custom header(s) to server]':'<header/@file>' \
  {-i,--include}'[Include protocol response headers in the output]' \
  {-m,--max-time}'[Maximum time allowed for the transfer]':'<time>' \
  --proxy-header'[Pass custom header(s) to proxy]':'<header/@file>' \
  --unix-socket'[Connect through this Unix domain socket]':'<path>' \
  {-w,--write-out}'[Use output FORMAT after completion]':'<format>' \
  --http2-prior-knowledge'[HTTP 2 without HTTP/1.1 Upgrade]':'Use' \
  {-o,--output}'[Write to file instead of stdout]':'<file>':_files \
  {-J,--remote-header-name}'[the header-provided filename]':'Use' \
  --socks4a'[SOCKS4a proxy on given host + port]':'<host[:port]>' \
  {-Y,--speed-limit}'[Stop transfers slower than this]':'<speed>' \
  {-z,--time-cond}'[Transfer based on a time condition]':'<time>' \
  --capath'[CA directory to verify peer against]':'<dir>':_files \
  {-f,--fail}'[Fail silently (no output at all) on HTTP errors]' \
  --proxy-tlspassword'[TLS password for HTTPS proxy]':'<string>' \
  {-U,--proxy-user}'[Proxy user and password]':'<user:password>' \
  --proxy1.0'[Use HTTP/1.0 proxy on given port]':'<host[:port]>' \
  {-r,--range}'[Retrieve only the bytes within RANGE]':'<range>' \
  {-A,--user-agent}'[Send User-Agent <name> to server]':'<name>' \
  --egd-file'[EGD socket path for random data]':'<file>':_files \
  --fail-early'[Fail on first transfer error, do not continue]' \
  --preproxy'[Use this proxy first]':'[protocol://]host[:port]' \
  --retry-max-time'[Retry only within this period]':'<seconds>' \
  --socks4'[SOCKS4 proxy on given host + port]':'<host[:port]>' \
  --socks5'[SOCKS5 proxy on given host + port]':'<host[:port]>' \
  --socks5-gssapi-nec'[with NEC SOCKS5 server]':'Compatibility' \
  --ssl-allow-beast'[security flaw to improve interop]':'Allow' \
  --cert-status'[Verify the status of the server certificate]' \
  --ftp-create-dirs'[the remote dirs if not present]':'Create' \
  {-:,--next}'[Make next URL use its separate set of options]' \
  --proxy-key-type'[Private key file type for proxy]':'<type>' \
  --remote-name-all'[the remote file name for all URLs]':'Use' \
  {-X,--request}'[Specify request command to use]':'<command>' \
  --retry'[Retry request if transient problems occur]':'<num>' \
  --ssl-no-revoke'[cert revocation checks (WinSSL)]':'Disable' \
  --cert-type'[Certificate file type (DER/PEM/ENG)]':'<type>' \
  --connect-to'[Connect to host]':'<HOST1:PORT1:HOST2:PORT2>' \
  --create-dirs'[Create necessary local directory hierarchy]' \
  --max-redirs'[Maximum number of redirects allowed]':'<num>' \
  {-n,--netrc}'[Must read .netrc for user name and password]' \
  --proxy-crlfile'[Set a CRL list for proxy]':'<file>':_files \
  --sasl-ir'[Enable initial response in SASL authentication]' \
  --socks5-gssapi'[GSS-API auth for SOCKS5 proxies]':'Enable' \
  --interface'[Use network INTERFACE (or address)]':'<name>' \
  --key-type'[Private key file type (DER/PEM/ENG)]':'<type>' \
  --netrc-file'[Specify FILE for netrc]':'<filename>':_files \
  {-N,--no-buffer}'[Disable buffering of the output stream]' \
  --proxy-service-name'[SPNEGO proxy service name]':'<name>' \
  --max-filesize'[Maximum file size to download]':'<bytes>' \
  --negotiate'[Use HTTP Negotiate (SPNEGO) authentication]' \
  --no-keepalive'[Disable TCP keepalive on the connection]' \
  {-#,--progress-bar}'[Display transfer progress as a bar]' \
  {-x,--proxy}'[Use this proxy]':'[protocol://]host[:port]' \
  --proxy-anyauth'[any proxy authentication method]':'Pick' \
  {-Q,--quote}'[Send command(s) to server before transfer]' \
  --request-target'[the target for this request]':'Specify' \
  {-u,--user}'[Server user and password]':'<user:password>' \
  {-K,--config}'[Read config from a file]':'<file>':_files \
  {-C,--continue-at}'[Resumed transfer offset]':'<offset>' \
  --data-raw'[HTTP POST data, '\''@'\'' allowed]':'<data>' \
  --krb'[Enable Kerberos with security <level>]':'<level>' \
  --proxy-ciphers'[SSL ciphers to use for proxy]':'<list>' \
  --proxy-digest'[Use Digest authentication on the proxy]' \
  --proxy-tlsuser'[TLS username for HTTPS proxy]':'<name>' \
  {-b,--cookie}'[Send cookies from string/file]':'<data>' \
  --data-urlencode'[HTTP POST data url encoded]':'<data>' \
  --delegation'[GSS-API delegation permission]':'<LEVEL>' \
  {-P,--ftp-port}'[Use PORT instead of PASV]':'<address>' \
  --post301'[Do not switch to GET after following a 301]' \
  --post302'[Do not switch to GET after following a 302]' \
  --post303'[Do not switch to GET after following a 303]' \
  --trace-time'[Add time stamps to trace/verbose output]' \
  --dns-servers'[DNS server addrs to use]':'<addresses>' \
  {-G,--get}'[Put the post data in the URL and use GET]' \
  --limit-rate'[Limit transfer speed to RATE]':'<speed>' \
  --ntlm-wb'[Use HTTP NTLM authentication with winbind]' \
  --path-as-is'[Do not squash .. sequences in URL path]' \
  --proxy-basic'[Use Basic authentication on the proxy]' \
  --retry-delay'[Wait time between retries]':'<seconds>' \
  --trace'[Write a debug trace to FILE]':'<file>':_files \
  {-a,--append}'[Append to target file when uploading]' \
  --ftp-ssl-ccc-mode'[Set CCC mode]':'<active/passive>' \
  --metalink'[Process given URLs as metalink XML file]' \
  --tr-encoding'[Request compressed transfer encoding]' \
  --xattr'[Store metadata in extended file attributes]' \
  --ftp-skip-pasv-ip'[the IP address for PASV]':'Skip' \
  --pass'[Pass phrase for the private key]':'<phrase>' \
  --proxy-ntlm'[Use NTLM authentication on the proxy]' \
  {-S,--show-error}'[Show error even when -s is used]' \
  --ciphers'[of ciphers> SSL ciphers to use]':'<list' \
  --form-string'[Specify multipart MIME data]':'<name=string>' \
  --login-options'[Server login options]':'<options>' \
  --tftp-blksize'[Set TFTP BLKSIZE option]':'<value>' \
  --tftp-no-options'[not send any TFTP options]':'Do' \
  {-v,--verbose}'[Make the operation more talkative]' \
  --proxy-key'[Private key for HTTPS proxy]':'<key>' \
  {-F,--form}'[Specify multipart MIME data]':'<name=content>' \
  --mail-from'[Mail from this address]':'<address>' \
  --oauth2-bearer'[OAuth 2 Bearer Token]':'<token>' \
  --proto'[Enable/disable PROTOCOLS]':'<protocols>' \
  --tlsauthtype'[TLS authentication type]':'<type>' \
  --no-sessionid'[Disable SSL session-ID reusing]' \
  --data-binary'[HTTP POST binary data]':'<data>' \
  --mail-rcpt'[Mail to this address]':'<address>' \
  {-t,--telnet-option}'[Set telnet option]':'<opt=val>' \
  --tls-max'[Use TLSv1.0 or greater]':'<VERSION>' \
  --ftp-ssl-ccc'[Send CCC after authenticating]' \
  {-4,--ipv4}'[Resolve names to IPv4 addresses]' \
  {-6,--ipv6}'[Resolve names to IPv6 addresses]' \
  --netrc-optional'[either .netrc or URL]':'Use' \
  --service-name'[SPNEGO service name]':'<name>' \
  {-V,--version}'[Show version number and quit]' \
  --data-ascii'[HTTP POST ASCII data]':'<data>' \
  --ftp-account'[Account data string]':'<data>' \
  --compressed-ssh'[SSH compression]':'Enable' \
  --disable-eprt'[Inhibit using EPRT or LPRT]' \
  --ftp-method'[Control CWD usage]':'<method>' \
  --pubkey'[SSH Public key file name]':'<key>' \
  --raw'[Do HTTP "raw"; no transfer decoding]' \
  --anyauth'[Pick any authentication method]' \
  --compressed'[Request compressed response]' \
  --ftp-pasv'[Use PASV/EPSV instead of PORT]' \
  --no-alpn'[Disable the ALPN TLS extension]' \
  --tcp-nodelay'[Use the TCP_NODELAY option]' \
  {-B,--use-ascii}'[Use ASCII/text transfer]' \
  --digest'[Use HTTP Digest Authentication]' \
  --proxy-tlsv1'[Use TLSv1 for HTTPS proxy]' \
  --engine'[Crypto engine to use]':'<name>' \
  --no-npn'[Disable the NPN TLS extension]' \
  --basic'[Use HTTP Basic Authentication]' \
  {-M,--manual}'[Display the full manual]' \
  --false-start'[Enable TLS False Start]' \
  --crlf'[Convert LF to CRLF in upload]' \
  {-d,--data}'[HTTP POST data]':'<data>' \
  {-I,--head}'[Show document info only]' \
  --key'[Private key file name]':'<key>' \
  --ntlm'[Use HTTP NTLM authentication]' \
  {-e,--referer}'[Referrer URL]':'<URL>' \
  {-1,--tlsv1}'[Use TLSv1.0 or greater]' \
  --disable-epsv'[Inhibit using EPSV]' \
  --stderr'[Where to redirect stderr]' \
  --ftp-pret'[Send PRET before PASV]' \
  {-L,--location}'[Follow redirects]' \
  --tcp-fastopen'[Use TCP Fast Open]' \
  --tlsuser'[TLS user name]':'<name>' \
  {-l,--list-only}'[List only mode]' \
  {-q,--disable}'[Disable .curlrc]' \
  --url'[URL to work with]':'<url>' \
  {-0,--http1.0}'[Use HTTP 1.0]' \
  {-h,--help}'[This help text]' \
  --ssl-reqd'[Require SSL/TLS]' \
  --tlspassword'[TLS password]' \
  {-s,--silent}'[Silent mode]' \
  --http1.1'[Use HTTP 1.1]' \
  {-2,--sslv2}'[Use SSLv2]' \
  {-3,--sslv3}'[Use SSLv3]' \
  --tlsv1.0'[Use TLSv1.0]' \
  --tlsv1.1'[Use TLSv1.1]' \
  --tlsv1.2'[Use TLSv1.2]' \
  --tlsv1.3'[Use TLSv1.3]' \
  --http2'[Use HTTP 2]' \
  --ssl'[Try SSL/TLS]' \
  '*:URL:_urls' && rc=0

return rc