News for hackers. Stuff that matters.
Re:Nsh: A fish/bash-like Posix shell in Rust by AYBABTME on Saturday October 23, 2021 @09:18AM (#28968114)
That doesn't give you the env vars that the script might have set.
Re:Nsh: A fish/bash-like Posix shell in Rust by pxc on Saturday October 23, 2021 @10:45AM (#28969018)
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

Re:Nsh: A fish/bash-like Posix shell in Rust by stjohnswarts on Saturday October 23, 2021 @06:56PM (#28973190)
could you explain this? How could the script set env vars before you run it??