Skip to content

Commit

Permalink
added bashrc config
Browse files Browse the repository at this point in the history
  • Loading branch information
svarona committed Oct 24, 2024
1 parent 9b956dc commit 6ae9a0e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions micromamba_config.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# >>> mamba initialize >>>
# !! Contents within this block are managed by 'micromamba shell init' !!
export MAMBA_EXE='/opt/micromamba/micromamba';
export MAMBA_ROOT_PREFIX='/opt/micromamba';
__mamba_setup="$("$MAMBA_EXE" shell hook --shell bash --root-prefix "$MAMBA_ROOT_PREFIX" 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__mamba_setup"
else
alias micromamba="$MAMBA_EXE" # Fallback on help from mamba activate
fi
unset __mamba_setup
# <<< mamba initialize <<<

# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
export PATH="/opt/miniconda3/bin:$PATH"
__conda_setup="$('/opt/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/opt/miniconda3/etc/profile.d/conda.sh" ]; then
. "/opt/miniconda3/etc/profile.d/conda.sh"
else
export PATH="/opt/miniconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<

0 comments on commit 6ae9a0e

Please sign in to comment.