浏览代码

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

Carlo Sala 1 月之前
父节点
当前提交
61bacd95b2
共有 1 个文件被更改,包括 1 次插入1 次删除
  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
   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