Revision ea351b5b3896a0120bbf3ea0b4bdd7439fa65caa authored by Adam Lanman on 02 November 2022, 20:13:55 UTC, committed by Bryna Hazelton on 04 November 2022, 18:57:21 UTC
1 parent 29a5f56
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