mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-19 02:02:32 +01:00
Add a basic plugin for pipx
This commit is contained in:
parent
708ea42384
commit
2687d69c46
2 changed files with 21 additions and 0 deletions
8
plugins/pipx/pipx.plugin.zsh
Normal file
8
plugins/pipx/pipx.plugin.zsh
Normal 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)"
|
||||
Loading…
Add table
Add a link
Reference in a new issue