mamba-org / ansible-role-micromamba

Install micromamba, and optionally create a base conda environment.
https://galaxy.ansible.com/maresb/micromamba
MIT License
9 stars 3 forks source link

Playbook should install a global initalization script in /etc/profile.d #8

Open gdevenyi opened 5 months ago

gdevenyi commented 5 months ago

If I'm installing micromamba system wide, I expect it to work in terms of micromamba activate with no further commands needed.

Right now I need to, or do the shell init for every user

Something like

/etc/profile.d/micromamba_activate.sh

eval "$(micromamba shell hook --shell=bash)"

Would make it universal on login.

maresb commented 5 months ago

Thanks @gdevenyi, that seems like it makes sense. Would you like to make a PR for this?

gdevenyi commented 5 months ago

PR #9