Hacker News new | past | comments | ask | show | jobs | submit login

That doesn't give you the env vars that the script might have set.



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


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: