mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-08-07 06:08:39 +02:00
Merge 818a9b4e9e into 7ea697fd81
This commit is contained in:
commit
72581e9636
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue