Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] use _gnu_generic in _curl
- X-seq: zsh-workers 48832
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: [PATCH] use _gnu_generic in _curl
- Date: Sat, 15 May 2021 22:16:31 -0700
- Archived-at: <https://zsh.org/workers/48832>
- List-id: <zsh-workers.zsh.org>
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 "$@"
Messages sorted by:
Reverse Date,
Date,
Thread,
Author