I had a similar issue that was caused by including shell completions in my .zprofile
. I specifically had:
if command -v ngrok &>/dev/null; then
eval "$(ngrok completion)"
fi
This is an issue because .zprofile
runs prior to Zsh setting up completions. Moving this logic to .zshrc
solved this for me.