You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When executed in a shell in which MANPATH is not already set, the shell code output by that line (which is intended to be eval'ed by tcsh) yields an error. This is exemplified by the following tcsh transcript:
* Start a `tcsh` shell.
* In that shell, execute the following commands. (The setting of `PATH` is required to get `brew shellenv` to output commands.)
setenv PATH /usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin
unsetenv MANPATH
eval`/opt/homebrew/bin/brew shellenv`
Observe the error output by the last of the above commands:
brew doctor
outputVerification
brew doctor
output" above saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
twice and am still able to reproduce my issue.brew install wget
. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.brew config
outputWhat were you trying to do (and why)?
After updating to macOS 14.6 (Sonoma) and current Homebrew, I tried to start a login tcsh shell. My
~/.cshrc
contains the following code:I tried creating this shell because I wanted to use the shell to execute other commands.
What happened (include all command output)?
The configuration of the tcsh shell encountered an error. The terminal showed:
Tracking this down, I traced the problem to this line in
shellenv.sh
:brew/Library/Homebrew/cmd/shellenv.sh
Line 35 in 4dcd308
When executed in a shell in which
MANPATH
is not already set, the shell code output by that line (which is intended to be eval'ed by tcsh) yields an error. This is exemplified by the following tcsh transcript:What did you expect to happen?
I expected no error to be caused by the code that is output by
brew shellenv
.In particular, I expected that there would not be an error relating the setting of
MANPATH
when I created a login shell with tcsh.Step-by-step reproduction instructions (by running
brew
commands)The text was updated successfully, but these errors were encountered: