* [PATCH] use _gnu_generic in _curl
@ 2021-05-16 5:16 Bart Schaefer
0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2021-05-16 5:16 UTC (permalink / raw)
To: Zsh hackers list
Found this one in yet another git sandbox. It was probably suggested
by someone else long ago, but I can't find the relevant post. Seems
to work OK on MacOS.
diff --git a/Completion/Unix/Command/_curl b/Completion/Unix/Command/_curl
index 72e2e5b53..ecccdd389 100644
--- a/Completion/Unix/Command/_curl
+++ b/Completion/Unix/Command/_curl
@@ -4,4 +4,4 @@
# definition is provided as a fallback, and should be installed later
# in $fpath than the curl-provided definition of _curl.
-_urls "$@"
+_gnu_generic || _urls "$@"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-16 5:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-16 5:16 [PATCH] use _gnu_generic in _curl Bart Schaefer
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).