mirror of https://github.com/ohmyzsh/ohmyzsh.git
Add a basic plugin for pipx
This commit is contained in:
parent
708ea42384
commit
2687d69c46
|
@ -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/)
|
|
@ -0,0 +1,8 @@
|
|||
# check if pipx is installed
|
||||
if (( ! ${+commands[pipx]} )); then
|
||||
return
|
||||
fi
|
||||
|
||||
autoload -U bashcompinit
|
||||
bashcompinit
|
||||
eval "$(register-python-argcomplete pipx)"
|
Loading…
Reference in New Issue