Docker shell completion on OSX iTerm2 oh-my-zsh : <p>I am trying to get Docker shell completion on this stack (OSX iTerm2 oh-my-zsh) </p>

<p>I followed this guide -> <a href="https://docs.docker.com/compose/completion/" rel="noreferrer">https://docs.docker.com/compose/completion/</a></p>

<p>First I executed this</p>

<pre><code>$ mkdir -p ~/.zsh/completion
$ curl -L https://raw.githubusercontent.com/docker/compose/master/contrib/completion/zsh/_docker-compose &gt; ~/.zsh/completion/_docker-compose
</code></pre>

<p>Then I added this two lines almost at the end <code>~/.zshrc</code> file</p>

<pre><code>fpath=(~/.zsh/completion $fpath)
autoload -Uz compinit &amp;&amp; compinit -i
</code></pre>

<p>Then in the terminal I run</p>

<pre><code>source ~/.zshrc
exec $SHELL -l
</code></pre>

<p>But when I press <code>tab</code> it suggest the files and folders on the path</p>
