Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

antigen update is skipped when antigen selfupdate failed #1031

Open
xyz1001 opened this issue Oct 12, 2022 · 0 comments
Open

antigen update is skipped when antigen selfupdate failed #1031

xyz1001 opened this issue Oct 12, 2022 · 0 comments

Comments

@xyz1001
Copy link

xyz1001 commented Oct 12, 2022

What did you expect to happen?

antigen update will not be skipped when antigen selfupdate is failed because antigen is not installed by git clone

What actually happened?

antigen update is skipped when antigen selfupdate failed.

Additional Details

  • Which operating system or Linux distribution are you using?
  • How did you install Topgrade?
  • Which version are you running?

Arch Linux
pacman
9.0.1

The command that updates antigen is /usr/bin/zsh -l -c source ~/.zshrc && antigen selfupdate && antigen update. When antigen is not installed by clone the repo, error occurred when execute antigen selfupdate with output Your copy of antigen doesn't appear to be a git clone. The 'selfupdate' command cannot work in this case.. However, this should not break antigen update which used to update zsh plugins. I think it may be better that change this command to /usr/bin/zsh -l -c source ~/.zshrc && (antigen selfupdate; antigen update).


Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant