From b950ac3f6e316f522473465dd724c11f823f2f16 Mon Sep 17 00:00:00 2001 From: Nanda H Krishna Date: Sat, 15 Jan 2022 17:27:39 -0500 Subject: [PATCH 1/2] cmd/shellenv.sh: fix typo Co-authored-by: Greg Myers --- Library/Homebrew/cmd/shellenv.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/shellenv.sh b/Library/Homebrew/cmd/shellenv.sh index 8dc8b98fb0..97c630e470 100644 --- a/Library/Homebrew/cmd/shellenv.sh +++ b/Library/Homebrew/cmd/shellenv.sh @@ -3,7 +3,7 @@ #: Print export statements. When run in a shell, this installation of Homebrew will be added to your `PATH`, `MANPATH`, and `INFOPATH`. #: #: The variables `HOMEBREW_PREFIX`, `HOMEBREW_CELLAR` and `HOMEBREW_REPOSITORY` are also exported to avoid querying them multiple times. -#: To help guarantee idempotence, this command produces no output when Homebrew's `bin` and `sbin` directores are first and second +#: To help guarantee idempotence, this command produces no output when Homebrew's `bin` and `sbin` directories are first and second #: 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)"` From b68774d377bd7566375aea05622d1818b8ddbf1e Mon Sep 17 00:00:00 2001 From: Nanda H Krishna Date: Sat, 15 Jan 2022 17:29:28 -0500 Subject: [PATCH 2/2] Update manpage --- manpages/brew.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manpages/brew.1 b/manpages/brew.1 index 89496d7091..d4e4d4383f 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -828,7 +828,7 @@ Search for \fItext\fR in the given database\. 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 directores 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 +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 . .SS "\fBtap\fR [\fIoptions\fR] [\fIuser\fR\fB/\fR\fIrepo\fR] [\fIURL\fR]" Tap a formula repository\.