Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
AYBABTME
on Oct 23, 2021
|
parent
|
context
|
favorite
| on:
Nsh: A fish/bash-like Posix shell in Rust
That doesn't give you the env vars that the script might have set.
pxc
on Oct 23, 2021
|
next
[–]
You can use fenv or bass for that. They run a snippet or script of bash in bash, then import all the environment changes for you
https://github.com/oh-my-fish/plugin-foreign-env
https://github.com/edc/bass
stjohnswarts
on Oct 23, 2021
|
prev
[–]
could you explain this? How could the script set env vars before you run it??
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: