title: git completion on zsh not listing ambiguous options (on macOS)
body: <p>My machine is a M1 Mac mini running Big Sur.</p>
  <p>I am trying to get git completion to work in the default terminal which uses a zsh shell.</p>
  <p><a href="https://git-scm.com/book/en/v2/Appendix-A:-Git-in-Other-Environments-Git-in-Zsh" rel="nofollow noreferrer">This is what I am trying and expecting.</a> Screenshot below.</p>
  <p><a href="https://i.stack.imgur.com/Eraib.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Eraib.png" alt="git completion for zsh" /></a></p>
  <p>I am able to get completion to work, but not exactly as described here.</p>
  <p>Basically, if I type <code>git che</code><kbd>Tab</kbd> that directly converts into <code>git checkout</code> instead of giving/listing the options of all the git commands starting with &quot;che&quot; (as shown in the screenshot above.)</p>
  <p>Any further presses of <kbd>Tab</kbd> simply result in cycling through various branches, but the <code>checkout</code> doesn't change at all.</p>
  <p>I have tried multiple ways like</p>
  <ul>
  <li><a href="https://stackoverflow.com/a/58517668/12151830">using zsh completion settings</a></li>
  <li><a href="https://github.com/git/git/blob/master/contrib/completion/git-completion.zsh" rel="nofollow noreferrer">doing git completion settings</a></li>
  <li>and a few others I could find.</li>
  </ul>
  <p>But none seem to work..</p>
  <p>What am I doing wrong?</p>
  <p>(by the way, I am ok even if the helpful suggestions (in above screenshot) are not displayed. But the completion should allow me to see a list of all possible ambiguous options and to cycle through them.)</p>