Revision e0c466c7352160f78e81602aa733ebbdb62ed00d authored by Steven Murray on 23 September 2022, 17:09:01 UTC, committed by Bryna Hazelton on 04 October 2022, 23:46:26 UTC
1 parent c23d81f
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