mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-10 04:26:17 +02:00
Merge 818a9b4e9e into 7c10d9839f
This commit is contained in:
commit
cfbdc80b9c
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…
Add table
Add a link
Reference in a new issue