]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/plugins/volta/volta.plugin.zsh
...
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / plugins / volta / volta.plugin.zsh
1 # COMPLETION FUNCTION
2 if (( ! $+commands[volta] )); then
3   return
4 fi
5
6 # If the completion file doesn't exist yet, we need to autoload it and
7 # bind it to `deno`. Otherwise, compinit will have already done that.
8 if [[ ! -f "$ZSH_CACHE_DIR/completions/_volta" ]]; then
9   typeset -g -A _comps
10   autoload -Uz _volta
11   _comps[volta]=_volta
12 fi
13
14 volta completions zsh >| "$ZSH_CACHE_DIR/completions/_volta" &|