zsh: Add poetry completion
This commit is contained in:
parent
c8b0cf9f52
commit
e377eee12a
|
@ -234,3 +234,6 @@ command -v hcloud >/dev/null && source <(hcloud completion zsh)
|
||||||
|
|
||||||
## pipx
|
## pipx
|
||||||
command -v pipx >/dev/null && source <(register-python-argcomplete pipx)
|
command -v pipx >/dev/null && source <(register-python-argcomplete pipx)
|
||||||
|
|
||||||
|
## poetry
|
||||||
|
command -v poetry >/dev/null && ([ -e ~/.zfunc/_poetry ] || poetry completions zsh > ~/.zfunc/_poetry)
|
||||||
|
|
|
@ -2,3 +2,7 @@
|
||||||
|
|
||||||
source "$HOME/.homesick/repos/homeshick/homeshick.sh"
|
source "$HOME/.homesick/repos/homeshick/homeshick.sh"
|
||||||
fpath=($HOME/.homesick/repos/homeshick/completions $fpath)
|
fpath=($HOME/.homesick/repos/homeshick/completions $fpath)
|
||||||
|
|
||||||
|
## completions
|
||||||
|
mkdir -p ~/.zfunc
|
||||||
|
fpath+=~/.zfunc
|
||||||
|
|
Reference in a new issue