summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2015-11-20 03:18:46 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2015-11-27 07:27:09 +0000
commit06a24d37474b20ccd4ab2b8a255250ca99baa41b (patch)
tree82c0b7fcc348a34595733599792ae7163ba201e3
parent2ab41d508d453be2305b898325a9a87f00aaebda (diff)
downloadzsh-06a24d37474b20ccd4ab2b8a255250ca99baa41b.tar.gz
zsh-06a24d37474b20ccd4ab2b8a255250ca99baa41b.tar.xz
zsh-06a24d37474b20ccd4ab2b8a255250ca99baa41b.zip
37163: Remove curl completion
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_curl7
-rw-r--r--Completion/Unix/Type/_urls2
3 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3fabfc5e3..d7e766e17 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2015-11-27  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
+	* 37163: Completion/Unix/Command/_curl,
+	Completion/Unix/Type/_urls: Remove curl completion
+
 	* 37215: Completion/Base/Utility/_regex_words: _regex_words:
 	Don't add mismatched parentheses
 
diff --git a/Completion/Unix/Command/_curl b/Completion/Unix/Command/_curl
new file mode 100644
index 000000000..72e2e5b53
--- /dev/null
+++ b/Completion/Unix/Command/_curl
@@ -0,0 +1,7 @@
+#compdef curl
+
+# As of 7.43.0, curl upstream provides its own _curl definition.  This
+# definition is provided as a fallback, and should be installed later
+# in $fpath than the curl-provided definition of _curl.
+
+_urls "$@"
diff --git a/Completion/Unix/Type/_urls b/Completion/Unix/Type/_urls
index 6f23803ed..e81eaac05 100644
--- a/Completion/Unix/Type/_urls
+++ b/Completion/Unix/Type/_urls
@@ -1,4 +1,4 @@
-#compdef curl -value-,WWW_HOME,-default- -P -value-,(ftp|http(|s))_proxy,-default-
+#compdef -value-,WWW_HOME,-default- -P -value-,(ftp|http(|s))_proxy,-default-
 
 # Configuration styles used:
 #