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

antigen update is skipped when antigen selfupdate failed #1031

@xyz1001

Description

@xyz1001

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).


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions