fix(gem): regression with gem completion (#12735)

This commit is contained in:
Carlo Sala 2024-10-08 21:50:31 +02:00 committed by GitHub
parent ba1732833b
commit 61bacd95b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,7 +11,7 @@ function gemy {
if [[ ! -f "$ZSH_CACHE_DIR/completions/_gem" ]]; then
typeset -g -A _comps
autoload -Uz _gem
_comps[docker]=_gem
_comps[gem]=_gem
fi
# zsh 5.5 already provides completion for `_gem`. With this we ensure that