New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto disable hints if already exists the environment variable #16947
Comments
Can you provide an example of the specific hints you're seeing that you don't want to? |
Hi @MikeMcQuaid Sorry, but after checking it I have seen that in the brew.env file I misspelled the variable and after correcting it it is already hidden. |
I have
I was hoping that this would hide the specific hint about auto updates, while still providing me with other env hints that I might find useful. However, I still get the hint: (EDIT: nope, user error, see below)
I also got this hint:
In this case, there seems to be no explicit configuration to set get the install cleanups, but that could be used to silence the hints.
|
Hmm, but I do see now here that the |
Oh yes, the env var was not exported 🤦 – sorry about that. But how about the If I read the code right, there is no way to silence just this warning without disabling the behavior. So that would be a feature request. |
There is: set Passing on this, sorry. |
No, that also disables other hints? But I of course realize that this is a rather specific ask and I perfectly understand that you would pass on it. :) |
Yes. We don't have hint-by-hint disabling, sorry. |
Verification
brew install wget
. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.Provide a detailed description of the proposed feature
The idea is not to show the hint when there is any of the variables related to it.
For example, if HOMEBREW_AUTO_UPDATE_SECS or HOMEBREW_NO_AUTO_UPDATE is defined, it is understood that it is already configured and it does not make sense to show it.
What is the motivation for the feature?
Keeping the console clean.
How will the feature be relevant to at least 90% of Homebrew users?
By not having extra or unnecessary information, the command information can be seen more clearly.
What alternatives to the feature have been considered?
You could add a check of the variables before displaying it.
The text was updated successfully, but these errors were encountered: