The issue
I recently ran into an issue after installing docker and adding it to the plugins section in my .zshrc file, autocomplete just wouldn’t work (even though oh-my-zsh plugin installation is so straightforward).
First make sure your syntax is OK, plugins should be separated by a space only and no commas:
plugins=(git docker docker-compose)
After reloading my zshrc file with source ~/.zshrc it still didn’t work. I had to delete ZSH’s .zcompdump file: