3 ms·
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
by BeetleB 3y ago
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.
- bin_bash 3y agoI've never needed it, but there is bass for this use-case: https://github.com/edc/bass https://github.com/edc/bass