Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] use _gnu_generic in _curl



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