title: Bazel tab auto complete in zsh not working
body: <p>I use oh-my-zsh and I have a bazel project. I want tab complete. So that I can do <code>bazel build //src/&lt;tab&gt;</code> and get auto complete. </p>
  
  <p>The first thing I tried was following:</p>
  
  <p><a href="https://docs.bazel.build/versions/master/completion.html" rel="nofollow noreferrer">https://docs.bazel.build/versions/master/completion.html</a>. I included the _bazel file under a directory on my $fpath. Then I restarted my terminal and got no tab complete. </p>
  
  <p>Next I tried using an oh-my-zsh plugin. <a href="https://github.com/jackwish/bazel" rel="nofollow noreferrer">https://github.com/jackwish/bazel</a>. I cloned the plugin into the correct location, added bazel to my zshrc plugins and did <code>source ~/.zshrc</code>
  Still no tab completion. </p>
  
  <p>I installed bazel using brew. I have tried <code>brew uninstall bazel</code> and reinstalling it. No luck...</p>
  
  <pre><code>$ echo $fpath
  ... /Users/&lt;username&gt;/.oh-my-zsh/completions ...
  $ ls /Users/&lt;username&gt;/.oh-my-zsh/completions
  _bazel
  </code></pre>
  
  <p>I want to press tab and get a list of options and be able to tab through them.</p>