eec34b32fa586559af463b0d61256a7f5d257bea
- Author
- Oluwafemi Sule <oluwafemisule@outlook.com>
- Committer
- GitHub <noreply@github.com>
- Date
Message
fix(pip): use `pip3` in `pip3 uninstall` completion (#10271)
Diff
1diff --git a/plugins/pip/_pip b/plugins/pip/_pip
2index a5adead4a67555a8c3eb1fc67daefbe5b18f38a2..e03be6afe2b94cf6e3d58735384ac7c73daddda9 100644
3--- a/plugins/pip/_pip
4+++ b/plugins/pip/_pip
5@@ -13,7 +13,7 @@ _pip_all() {
6 }
7
8 _pip_installed() {
9- installed_pkgs=(`pip freeze | cut -d '=' -f 1`)
10+ installed_pkgs=($($service freeze | cut -d '=' -f 1))
11 }
12
13 local -a _1st_arguments