On Sat, May 29, 2021 at 10:49 PM David Aguilar <davvid@xxxxxxxxx> wrote: > If __git_cmd_idx is empty then zsh will silelntly fail to > complete remotes when doing "git push <tab>". s/silelntly/silently/ > Ensure that __git_cmd_idx is non-empty before using it in > __git_complete_remote_or_refspec. > > This was tested on zsh 5.7.1 (x86_64-apple-darwin19.0). > Other versions of zsh, eg. zsh 5.0.2 (x86_64-redhat-linux-gnu), > do not exhibit this behavior. > > Signed-off-by: David Aguilar <davvid@xxxxxxxxx>