bin/brew: pass through some SSH/sudo env vars.

`HOMEBREW_SSH_TTY` and `HOMEBREW_SUDO_USER` will be needed for
`brew services` after
https://github.com/Homebrew/homebrew-services/pull/588 is merged.
This commit is contained in:
Mike McQuaid 2023-09-27 11:55:31 +01:00
parent 67be775fd9
commit d43e1d0d83
No known key found for this signature in database
GPG Key ID: 3338A31AFDB1D829

View File

@ -154,6 +154,8 @@ USED_BY_HOMEBREW_VARS=(
CODESPACES CODESPACES
DBUS_SESSION_BUS_ADDRESS DBUS_SESSION_BUS_ADDRESS
PATH PATH
SSH_TTY
SUDO_USER
TMUX TMUX
XDG_RUNTIME_DIR XDG_RUNTIME_DIR
) )