Merge pull request #15380 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
This commit is contained in:
commit
8d938ef953
@ -634,7 +634,7 @@ is flanked by slashes, it is interpreted as a regular expression.
|
||||
* `--ubuntu`:
|
||||
Search for *`text`* in the given database.
|
||||
|
||||
### `shellenv`
|
||||
### `shellenv [bash|csh|fish|pwsh|sh|tcsh|zsh]`
|
||||
|
||||
Print export statements. When run in a shell, this installation of Homebrew will be added to your `PATH`, `MANPATH`, and `INFOPATH`.
|
||||
|
||||
@ -643,6 +643,8 @@ To help guarantee idempotence, this command produces no output when Homebrew's `
|
||||
respectively in your `PATH`. Consider adding evaluation of this command's output to your dotfiles (e.g. `~/.profile`,
|
||||
`~/.bash_profile`, or `~/.zprofile`) with: `eval "$(brew shellenv)"`
|
||||
|
||||
The shell can be specified explicitly with a supported shell name parameter. Unknown shells will output POSIX exports.
|
||||
|
||||
### `tap` [*`options`*] [*`user`*`/`*`repo`*] [*`URL`*]
|
||||
|
||||
Tap a formula repository.
|
||||
|
||||
@ -898,12 +898,15 @@ Search for \fItext\fR in the given database\.
|
||||
\fB\-\-ubuntu\fR
|
||||
Search for \fItext\fR in the given database\.
|
||||
.
|
||||
.SS "\fBshellenv\fR"
|
||||
.SS "\fBshellenv [bash|csh|fish|pwsh|sh|tcsh|zsh]\fR"
|
||||
Print export statements\. When run in a shell, this installation of Homebrew will be added to your \fBPATH\fR, \fBMANPATH\fR, and \fBINFOPATH\fR\.
|
||||
.
|
||||
.P
|
||||
The variables \fBHOMEBREW_PREFIX\fR, \fBHOMEBREW_CELLAR\fR and \fBHOMEBREW_REPOSITORY\fR are also exported to avoid querying them multiple times\. To help guarantee idempotence, this command produces no output when Homebrew\'s \fBbin\fR and \fBsbin\fR directories are first and second respectively in your \fBPATH\fR\. Consider adding evaluation of this command\'s output to your dotfiles (e\.g\. \fB~/\.profile\fR, \fB~/\.bash_profile\fR, or \fB~/\.zprofile\fR) with: \fBeval "$(brew shellenv)"\fR
|
||||
.
|
||||
.P
|
||||
The shell can be specified explicitly with a supported shell name parameter\. Unknown shells will output POSIX exports\.
|
||||
.
|
||||
.SS "\fBtap\fR [\fIoptions\fR] [\fIuser\fR\fB/\fR\fIrepo\fR] [\fIURL\fR]"
|
||||
Tap a formula repository\.
|
||||
.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user