summaryrefslogtreecommitdiff
path: root/dot-oh-my-zsh/plugins/poetry/poetry.plugin.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'dot-oh-my-zsh/plugins/poetry/poetry.plugin.zsh')
m---------dot-oh-my-zsh0
-rw-r--r--dot-oh-my-zsh/plugins/poetry/poetry.plugin.zsh14
2 files changed, 0 insertions, 14 deletions
diff --git a/dot-oh-my-zsh b/dot-oh-my-zsh
new file mode 160000
+Subproject 6fe84bf5c82da7b1f6d7c5ec3e5c447721ac8ce
diff --git a/dot-oh-my-zsh/plugins/poetry/poetry.plugin.zsh b/dot-oh-my-zsh/plugins/poetry/poetry.plugin.zsh
deleted file mode 100644
index cebcb46c..00000000
--- a/dot-oh-my-zsh/plugins/poetry/poetry.plugin.zsh
+++ /dev/null
@@ -1,14 +0,0 @@
-# Return immediately if poetry is not found
-if (( ! $+commands[poetry] )); then
- return
-fi
-
-# If the completion file doesn't exist yet, we need to autoload it and
-# bind it to `poetry`. Otherwise, compinit will have already done that.
-if [[ ! -f "$ZSH_CACHE_DIR/completions/_poetry" ]]; then
- typeset -g -A _comps
- autoload -Uz _poetry
- _comps[poetry]=_poetry
-fi
-
-poetry completions zsh >| "$ZSH_CACHE_DIR/completions/_poetry" &|