From a62114c91f2070c8c8453d117f3d81dc113e41ff Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Mon, 25 Mar 2024 16:43:09 +0530 Subject: dotfile update --- zsh/oh-my-zsh/plugins/poetry/README.md | 9 --------- zsh/oh-my-zsh/plugins/poetry/poetry.plugin.zsh | 14 -------------- 2 files changed, 23 deletions(-) delete mode 100644 zsh/oh-my-zsh/plugins/poetry/README.md delete mode 100644 zsh/oh-my-zsh/plugins/poetry/poetry.plugin.zsh (limited to 'zsh/oh-my-zsh/plugins/poetry') diff --git a/zsh/oh-my-zsh/plugins/poetry/README.md b/zsh/oh-my-zsh/plugins/poetry/README.md deleted file mode 100644 index 51780cb..0000000 --- a/zsh/oh-my-zsh/plugins/poetry/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# Poetry Plugin - -This plugin automatically installs [Poetry](https://python-poetry.org/)'s completions for you, and keeps them up to date as your Poetry version changes. - -To use it, add `poetry` to the plugins array in your zshrc file: - -```zsh -plugins=(... poetry) -``` diff --git a/zsh/oh-my-zsh/plugins/poetry/poetry.plugin.zsh b/zsh/oh-my-zsh/plugins/poetry/poetry.plugin.zsh deleted file mode 100644 index cebcb46..0000000 --- a/zsh/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" &| -- cgit v1.2.3-59-g8ed1b