Docker Desktop writes fpath=(~/.docker/completions ...) into .zshrc. The referenced-script walk then opened that directory, saw a non-regular file, and fail-closed — blocking source ~/.zshrc on every terminal command. Directories are not scripts; devices stay fail-closed.