You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running sprite completion zsh, the upgrade check (occasionally) runs and prints that a new version is available. When run as part of a shell hook to source completions, this occasionally dumps upgrade notifications when starting a new shell.
The sprite CLI has an environment variable that can be set to (UPGRADE_CHECK=true) to bypass the 24-hour cache and do an immediate check.
I recently contributed a change to nixpkgs NixOS/nixpkgs#532217 to set UPGRADE_CHECK=false trying to prevent the upgrade check from happening. The motivation behind this is that even if a new sprite version is available, if using nixpkgs, you usually have to wait for that version bump to propagate unless you want to manually override it. From my searching, it is common to disable auto updates & update checks [1]
Ask
Would it be possible to do either one of these:
Never do an upgrade check for the completion sub command. This would prevent the upgrade check from happening when loading shell completions. I believe it would still correctly show that a new version is available when running and actual sprite command.
If UPGRADE_CHECK is explicitly set to false, then never perform an upgrade check. This gives more flexibility to the user to control if they want upgrade checks from happening at all.
Activity