Closed yueyejinghun closed 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! 😃
zsh-autocomplete
version: 817af7cThis issue started to appear in the middle or late February if I remember it right. The first time I installed this plugin with antigen is Jan. 14 because on that day I saw this answer on StackOverflow. Antigen had no problem install this plugin then. Due to antigen cannot clone a specific branch of a GitHub repo, therefore I am unable to test which branch started to cause this. Now I can manually clone the repo to $HOME/.antigen/bundles/marlonrichert/zsh-autocomplete and it works fine. debug_ac_only.log