docs: add plugin-manager bootstrap hook guidance

Co-authored-by: mcornella <1441704+mcornella@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-08-17 07:48:08 +00:00
committed by GitHub
parent ffd4c95a4f
commit c15b32baa4
2 changed files with 58 additions and 10 deletions

View File

@@ -48,10 +48,6 @@ fi
0="${${ZERO:-${0:#$ZSH_ARGZERO}}:-${(%):-%N}}"
0="${${(M)0:#/*}:-$PWD/$0}"
# Ensure cache completions dir exists when the plugin is loaded directly
# (e.g. antigen, where oh-my-zsh.sh might not run).
command mkdir -p "$ZSH_CACHE_DIR/completions"
# 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