Revision 11b8ea5df074237d36b6ed8acfa8557fb1244b3c authored by Bryna Hazelton on 12 July 2023, 18:53:15 UTC, committed by Matthew Kolopanis on 12 July 2023, 19:50:27 UTC
1 parent 0615cfc
Raw File
_activate_current_env.sh
# This script should never be called directly, only sourced:

#     source _activate_current_env.sh

# Initialize the current shell
eval "$(`which micromamba` shell hook --shell=bash)"

# For robustness, try all possible activate commands.
conda activate "${ENV_NAME}" 2>/dev/null \
  || mamba activate "${ENV_NAME}" 2>/dev/null \
  || micromamba activate "${ENV_NAME}"
back to top