1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-23 06:10:08 +00:00

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 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