mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-03-06 21:31:17 +01:00
fix(docker): support completion on snap installs (#12224)
This commit is contained in:
parent
15ffbdd346
commit
40ff950fcd
1 changed files with 1 additions and 1 deletions
|
@ -57,6 +57,6 @@ fi
|
||||||
! is-at-least 23.0.0 ${${(s:,:z)"$(command docker --version)"}[3]}; then
|
! is-at-least 23.0.0 ${${(s:,:z)"$(command docker --version)"}[3]}; then
|
||||||
command cp "${0:h}/completions/_docker" "$ZSH_CACHE_DIR/completions/_docker"
|
command cp "${0:h}/completions/_docker" "$ZSH_CACHE_DIR/completions/_docker"
|
||||||
else
|
else
|
||||||
command docker completion zsh >| "$ZSH_CACHE_DIR/completions/_docker"
|
command docker completion zsh | tee "$ZSH_CACHE_DIR/completions/_docker" > /dev/null
|
||||||
fi
|
fi
|
||||||
} &|
|
} &|
|
||||||
|
|
Loading…
Add table
Reference in a new issue