topgrade-rs / topgrade

Upgrade all the things
GNU General Public License v3.0
2.07k stars 141 forks source link

Antidote not being catched when installed via homebrew #987

Open devtobi opened 5 days ago

devtobi commented 5 days ago

Erroneous Behavior

When antidote is installed via a package manager like brew, topgrade cannot find it because it has to be sourced into the terminal session first.

Expected Behavior

Topgrade should still find topgrade

Steps to reproduce

  1. Install topgrade via brew
  2. Run topgrade

Possible Cause (Optional)

topgrade cannot find it because it has to be sourced into the terminal session first, for some reason this is not working but I can still access antidote directly from the terminal without any issues.

Problem persists without calling from topgrade

Did you run topgrade through Remote Execution

Configuration file (Optional)

As alternative workaround I am currently using the following custom command.

[commands]
"Antidote updates" = "source $(brew --prefix antidote)/share/antidote/antidote.zsh && antidote update"

Additional Details

Verbose Output (topgrade -v)

not relevant