Revision 2d1e84284a3aea21c3203c749b405365f627eb19 authored by Bryna Hazelton on 23 August 2022, 17:09:53 UTC, committed by Paul La Plante on 23 August 2022, 20:05:37 UTC
1 parent d5d3bd3
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