Browse Source

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

Carlo Sala 1 month ago
parent
commit
61bacd95b2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/gem/gem.plugin.zsh

+ 1 - 1
plugins/gem/gem.plugin.zsh

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