This commit is contained in:
Markus Towara 2026-04-09 18:52:16 +02:00 committed by GitHub
commit cfbdc80b9c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -51,6 +51,9 @@ fi
# If the completion file doesn't exist yet, we need to autoload it and
# bind it to `docker`. Otherwise, compinit will have already done that.
if [[ ! -f "$ZSH_CACHE_DIR/completions/_docker" ]]; then
if [[ ! -f "$ZSH_CACHE_DIR/completions" ]]; then
mkdir -p "$ZSH_CACHE_DIR/completions"
fi
typeset -g -A _comps
autoload -Uz _docker
_comps[docker]=_docker