Add a basic plugin for pipx

This commit is contained in:
Cristian Magherusan-Stanciu 2020-09-08 19:15:21 +02:00
parent 708ea42384
commit 2687d69c46
2 changed files with 21 additions and 0 deletions

13
plugins/pipx/README.md Normal file
View file

@ -0,0 +1,13 @@
# pipx
[`pipx`](https://pipxproject.github.io/pipx/) - Install and Run Python Applications in Isolated Environments
To use it, add `pipx` to the plugins array in your zshrc file:
```zsh
plugins=(... pipx)
```
## Installation
Please find detailed installation guide [`here`](https://pipxproject.github.io/pipx/installation/)

View file

@ -0,0 +1,8 @@
# check if pipx is installed
if (( ! ${+commands[pipx]} )); then
return
fi
autoload -U bashcompinit
bashcompinit
eval "$(register-python-argcomplete pipx)"