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

At various jobs I've often seen bash scripts to set up your environment (mostly environment variables). Running a bash script with shebang will not preserve the changes to the environment variables, will it? At least that was my experience.

I use xonsh and fortunately it has source-bash for stuff like that.




I've never needed it, but there is bass for this use-case: https://github.com/edc/bass




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: