-
|
if i run tea +nodejs.org sh this is a temporary shell containing the following packages: nice but echo $PATH: and shell has access to binaries available on PATH including homebrew installs. How can I avoid this? This may be related to the tea --strain idea at #362 (original message discord https://discord.com/channels/906608167901876256/1082864420352426047/1082864420352426047) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
If you need it, this appears to do what you're asking: $ PATH=$(which tea) tea +nodejs.org sh
this is a temporary shell containing the following packages:
curl.se/ca-certs=2023.1.10, unicode.org=71.1.0, openssl.org=1.1.1s, zlib.net=1.2.13, nodejs.org=19.7.0
when done type: `exit'
tea ~ echo $PATH
/Users/jacob/.tea/unicode.org/v71.1.0/bin:/Users/jacob/.tea/unicode.org/v71.1.0/sbin:/Users/jacob/.tea/openssl.org/v1.1.1s/bin:/Users/jacob/.tea/nodejs.org/v19.7.0/bin:/Users/jacob/.tea/tea.xyz/v0.24.9/bin:/usr/local/bin/tea |
Beta Was this translation helpful? Give feedback.
-
|
We would consider a flag to remove inherited Notably we haven't packaged all of POSIX yet so this will likely leave a somewhat broken shell. |
Beta Was this translation helpful? Give feedback.
If you need it, this appears to do what you're asking: