diff options
Diffstat (limited to 'zsh/oh-my-zsh/plugins/charm')
-rw-r--r-- | zsh/oh-my-zsh/plugins/charm/README.md | 9 | ||||
-rw-r--r-- | zsh/oh-my-zsh/plugins/charm/charm.plugin.zsh | 14 |
2 files changed, 0 insertions, 23 deletions
diff --git a/zsh/oh-my-zsh/plugins/charm/README.md b/zsh/oh-my-zsh/plugins/charm/README.md deleted file mode 100644 index f237dce..0000000 --- a/zsh/oh-my-zsh/plugins/charm/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# Charm plugin - -This plugin adds completion for the [charm](https://github.com/charmbracelet/charm) CLI. - -To use it, add `charm` to the plugins array in your zshrc file: - -```zsh -plugins=(... charm) -``` diff --git a/zsh/oh-my-zsh/plugins/charm/charm.plugin.zsh b/zsh/oh-my-zsh/plugins/charm/charm.plugin.zsh deleted file mode 100644 index 52361ce..0000000 --- a/zsh/oh-my-zsh/plugins/charm/charm.plugin.zsh +++ /dev/null @@ -1,14 +0,0 @@ -# Autocompletion for the Charm CLI (charm). -if (( ! $+commands[charm] )); then - return -fi - -# If the completion file doesn't exist yet, we need to autoload it and -# bind it to `charm`. Otherwise, compinit will have already done that. -if [[ ! -f "$ZSH_CACHE_DIR/completions/_charm" ]]; then - typeset -g -A _comps - autoload -Uz _charm - _comps[charm]=_charm -fi - -charm completion zsh >| "$ZSH_CACHE_DIR/completions/_charm" &| |