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.",
|
"disable auto-update entirely with HOMEBREW_NO_AUTO_UPDATE.",
|
||||||
default: 300,
|
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: {
|
HOMEBREW_BAT: {
|
||||||
description: "If set, use `bat` for the `brew cat` command.",
|
description: "If set, use `bat` for the `brew cat` command.",
|
||||||
boolean: true,
|
boolean: true,
|
||||||
@ -343,10 +348,6 @@ module Homebrew
|
|||||||
default_text: "macOS: `/private/tmp`, Linux: `/tmp`.",
|
default_text: "macOS: `/private/tmp`, Linux: `/tmp`.",
|
||||||
default: HOMEBREW_DEFAULT_TEMP,
|
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: {
|
HOMEBREW_UPDATE_REPORT_ALL_FORMULAE: {
|
||||||
description: "If set, `brew update` lists changes to all formulae and cask files rather than only showing " \
|
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.",
|
"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.artifact_domain(); end
|
||||||
|
|
||||||
|
def self.autoremove?(); end
|
||||||
|
|
||||||
def self.auto_update_secs(); end
|
def self.auto_update_secs(); end
|
||||||
|
|
||||||
def self.bat?(); end
|
def self.bat?(); end
|
||||||
@ -2572,8 +2574,6 @@ module Homebrew::EnvConfig
|
|||||||
|
|
||||||
def self.temp(); end
|
def self.temp(); end
|
||||||
|
|
||||||
def self.uninstall_autoremove?(); end
|
|
||||||
|
|
||||||
def self.update_report_all_formulae?(); end
|
def self.update_report_all_formulae?(); end
|
||||||
|
|
||||||
def self.update_to_tag?(); end
|
def self.update_to_tag?(); end
|
||||||
|
|||||||
@ -1945,6 +1945,9 @@ example, run `export HOMEBREW_NO_INSECURE_REDIRECT=1` rather than just
|
|||||||
|
|
||||||
*Default:* `300`.
|
*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`
|
- `HOMEBREW_BAT`
|
||||||
<br>If set, use `bat` for the `brew cat` command.
|
<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`.
|
*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`
|
- `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.
|
<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\.
|
\fIDefault:\fR \fB300\fR\.
|
||||||
.
|
.
|
||||||
.TP
|
.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
|
\fBHOMEBREW_BAT\fR
|
||||||
.
|
.
|
||||||
.br
|
.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\.
|
\fIDefault:\fR macOS: \fB/private/tmp\fR, Linux: \fB/tmp\fR\.
|
||||||
.
|
.
|
||||||
.TP
|
.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
|
\fBHOMEBREW_UPDATE_REPORT_ALL_FORMULAE\fR
|
||||||
.
|
.
|
||||||
.br
|
.br
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user