marlonrichert / zsh-autocomplete

🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
MIT License
5.38k stars 148 forks source link

Install with antigen failed #198

Closed yueyejinghun closed 3 years ago

yueyejinghun commented 3 years ago
marlonrichert commented 3 years ago

Like it says: Activate logging and try again. 🙂

You can activate logging by setting ANTIGEN_LOG=~/antigen.log. Then the real culprit is revealed:

Cloning into '/[...]/.antigen/bundles/marlonrichert/zsh-autocomplete'...
warning: Could not find remote branch master to clone.
fatal: Remote branch master not found in upstream origin

I renamed the master branch to main. Instead of cloning master explicitly, Antigen should just clone the default branch.

This is a bug in Antigen. Please file a issue there.

Or better yet: Since Antigen is pretty much dead and your issue unlikely to get fixed, switch to Znap instead! 😃