docs(volta): fix typo (#12765)

This commit is contained in:
Lin 2024-10-17 16:01:07 +08:00 committed by GitHub
parent 8da75e390b
commit 067558da92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,7 +4,7 @@ if (( ! $+commands[volta] )); then
fi fi
# If the completion file doesn't exist yet, we need to autoload it and # If the completion file doesn't exist yet, we need to autoload it and
# bind it to `deno`. Otherwise, compinit will have already done that. # bind it to `volta`. Otherwise, compinit will have already done that.
if [[ ! -f "$ZSH_CACHE_DIR/completions/_volta" ]]; then if [[ ! -f "$ZSH_CACHE_DIR/completions/_volta" ]]; then
typeset -g -A _comps typeset -g -A _comps
autoload -Uz _volta autoload -Uz _volta