Changed env variable to HOMEBREW_AUTOREMOVE
This commit is contained in:
		
							parent
							
								
									74f1eca14c
								
							
						
					
					
						commit
						74f7b604cd
					
				@ -36,6 +36,11 @@ module Homebrew
 | 
			
		||||
                     "disable auto-update entirely with HOMEBREW_NO_AUTO_UPDATE.",
 | 
			
		||||
        default:     300,
 | 
			
		||||
      },
 | 
			
		||||
      HOMEBREW_AUTOREMOVE:             {
 | 
			
		||||
        description: "If set, calls to `brew install`, `brew upgrade`, `brew reinstall` and `brew uninstall` " \
 | 
			
		||||
                     "will automatically remove unused formula dependents.",
 | 
			
		||||
        boolean:     true,
 | 
			
		||||
      },
 | 
			
		||||
      HOMEBREW_BAT:                              {
 | 
			
		||||
        description: "If set, use `bat` for the `brew cat` command.",
 | 
			
		||||
        boolean:     true,
 | 
			
		||||
@ -343,10 +348,6 @@ module Homebrew
 | 
			
		||||
        default_text: "macOS: `/private/tmp`, Linux: `/tmp`.",
 | 
			
		||||
        default:      HOMEBREW_DEFAULT_TEMP,
 | 
			
		||||
      },
 | 
			
		||||
      HOMEBREW_UNINSTALL_AUTOREMOVE:             {
 | 
			
		||||
        description: "If set, `brew autoremove` is run after every successful call to `brew uninstall`.",
 | 
			
		||||
        boolean:     true,
 | 
			
		||||
      },
 | 
			
		||||
      HOMEBREW_UPDATE_REPORT_ALL_FORMULAE:       {
 | 
			
		||||
        description: "If set, `brew update` lists changes to all formulae and cask files rather than only showing " \
 | 
			
		||||
                     "when they are new and not installed or outdated and installed.",
 | 
			
		||||
 | 
			
		||||
@ -2442,6 +2442,8 @@ module Homebrew::EnvConfig
 | 
			
		||||
 | 
			
		||||
  def self.artifact_domain(); end
 | 
			
		||||
 | 
			
		||||
  def self.autoremove?(); end
 | 
			
		||||
 | 
			
		||||
  def self.auto_update_secs(); end
 | 
			
		||||
 | 
			
		||||
  def self.bat?(); end
 | 
			
		||||
@ -2572,8 +2574,6 @@ module Homebrew::EnvConfig
 | 
			
		||||
 | 
			
		||||
  def self.temp(); end
 | 
			
		||||
 | 
			
		||||
  def self.uninstall_autoremove?(); end
 | 
			
		||||
 | 
			
		||||
  def self.update_report_all_formulae?(); end
 | 
			
		||||
 | 
			
		||||
  def self.update_to_tag?(); end
 | 
			
		||||
 | 
			
		||||
@ -1945,6 +1945,9 @@ example, run `export HOMEBREW_NO_INSECURE_REDIRECT=1` rather than just
 | 
			
		||||
 | 
			
		||||
  *Default:* `300`.
 | 
			
		||||
 | 
			
		||||
- `HOMEBREW_AUTOREMOVE`
 | 
			
		||||
  <br>If set, calls to `brew install`, `brew upgrade`, `brew reinstall` and `brew uninstall` will automatically remove unused formula dependents.
 | 
			
		||||
 | 
			
		||||
- `HOMEBREW_BAT`
 | 
			
		||||
  <br>If set, use `bat` for the `brew cat` command.
 | 
			
		||||
 | 
			
		||||
@ -2184,9 +2187,6 @@ example, run `export HOMEBREW_NO_INSECURE_REDIRECT=1` rather than just
 | 
			
		||||
 | 
			
		||||
  *Default:* macOS: `/private/tmp`, Linux: `/tmp`.
 | 
			
		||||
 | 
			
		||||
- `HOMEBREW_UNINSTALL_AUTOREMOVE`
 | 
			
		||||
  <br>If set, `brew autoremove` is run after every successful call to `brew uninstall`.
 | 
			
		||||
 | 
			
		||||
- `HOMEBREW_UPDATE_REPORT_ALL_FORMULAE`
 | 
			
		||||
  <br>If set, `brew update` lists changes to all formulae and cask files rather than only showing when they are new and not installed or outdated and installed.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -2757,6 +2757,12 @@ Run \fBbrew update\fR once every \fBHOMEBREW_AUTO_UPDATE_SECS\fR seconds before
 | 
			
		||||
\fIDefault:\fR \fB300\fR\.
 | 
			
		||||
.
 | 
			
		||||
.TP
 | 
			
		||||
\fBHOMEBREW_AUTOREMOVE\fR
 | 
			
		||||
.
 | 
			
		||||
.br
 | 
			
		||||
If set, calls to \fBbrew install\fR, \fBbrew upgrade\fR, \fBbrew reinstall\fR and \fBbrew uninstall\fR will automatically remove unused formula dependents\.
 | 
			
		||||
.
 | 
			
		||||
.TP
 | 
			
		||||
\fBHOMEBREW_BAT\fR
 | 
			
		||||
.
 | 
			
		||||
.br
 | 
			
		||||
@ -3207,12 +3213,6 @@ Use this path as the temporary directory for building packages\. Changing this m
 | 
			
		||||
\fIDefault:\fR macOS: \fB/private/tmp\fR, Linux: \fB/tmp\fR\.
 | 
			
		||||
.
 | 
			
		||||
.TP
 | 
			
		||||
\fBHOMEBREW_UNINSTALL_AUTOREMOVE\fR
 | 
			
		||||
.
 | 
			
		||||
.br
 | 
			
		||||
If set, \fBbrew autoremove\fR is run after every successful call to \fBbrew uninstall\fR\.
 | 
			
		||||
.
 | 
			
		||||
.TP
 | 
			
		||||
\fBHOMEBREW_UPDATE_REPORT_ALL_FORMULAE\fR
 | 
			
		||||
.
 | 
			
		||||
.br
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user