tristanisham / zvm

zvm (Zig Version Manager) lets you easily install/upgrade between different versions of Zig.

Home Page:https://www.zvm.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"zvm i" goes through the entire install process even if there is no new version

lumenkeyes opened this issue · comments

(apologies for posting this as an empty issue initially, I don't use GH issues much and I misclicked)

Is your feature request related to a problem? Please describe.
Running "zvm i master" will reinstall the same version if no new version is available.

Describe the solution you'd like
Exit without doing anything if the latest version and the currently installed version are the same. I use the command to get the latest version, so it would be nice if there were a check to ensure that re-downloading + installing is actually necessary.

To make it worse, installation of ZLS is much slower than Zig itself on my host. I have to reinstall Zig before trying ZLS, just to see it timeout and getting killed...