From 1e24bb4a44cbacd1f0081c8cb2c6ab36ed66aa4c Mon Sep 17 00:00:00 2001
From: Indrajit Raychaudhuri <irc@indrajit.com>
Date: Thu, 4 May 2023 21:36:08 -0500
Subject: [PATCH] python: Remove pip completion from prezto local

pip completion is bundled with Zsh 5.9. Remove it from prezto local to
avoid shadowing the bundled completion.
---
 modules/python/functions/_pip | 19 -------------------
 1 file changed, 19 deletions(-)
 delete mode 100644 modules/python/functions/_pip

diff --git a/modules/python/functions/_pip b/modules/python/functions/_pip
deleted file mode 100644
index 4e0ffb80..00000000
--- a/modules/python/functions/_pip
+++ /dev/null
@@ -1,19 +0,0 @@
-#compdef -P pip[0-9.]#
-#autoload
-
-#
-# Pip completion, delegating to pip to do all the completion work.
-#
-# Authors:
-#   Indrajit Raychaudhuri <irc@indrajit.com>
-#
-
-if (( $+commands[$words[1]] )); then
-
-  function _pip_completion {
-    compadd -- $( COMP_WORDS="$words[*]" COMP_CWORD=$(( CURRENT - 1 )) \
-                  PIP_AUTO_COMPLETE=1 $words[1] 2>/dev/null )
-  }
-  _pip_completion "$@"
-
-fi