Update micromamba config

This commit is contained in:
Thomas Avé 2023-11-07 16:13:54 +01:00
parent bc7ce79c20
commit caef18ce13
1 changed files with 3 additions and 7 deletions

View File

@ -136,17 +136,13 @@ export GOPATH=/tmp/go
# >>> mamba initialize >>> # >>> mamba initialize >>>
# !! Contents within this block are managed by 'mamba init' !! # !! Contents within this block are managed by 'mamba init' !!
export MAMBA_EXE="/usr/bin/micromamba"; export MAMBA_EXE="$HOME/.local/bin/micromamba";
export MAMBA_ROOT_PREFIX="$HOME/.micromamba"; export MAMBA_ROOT_PREFIX="$HOME/.micromamba";
__mamba_setup="$('/usr/bin/micromamba' shell hook --shell zsh --prefix '$HOME/.micromamba' 2> /dev/null)" __mamba_setup="$("$MAMBA_EXE" shell hook --shell zsh --root-prefix "$MAMBA_ROOT_PREFIX" 2> /dev/null)"
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
eval "$__mamba_setup" eval "$__mamba_setup"
else else
if [ -f "$HOME/.micromamba/etc/profile.d/micromamba.sh" ]; then alias micromamba="$MAMBA_EXE" # Fallback on help from mamba activate
. "$HOME/.micromamba/etc/profile.d/micromamba.sh"
else
export PATH="$HOME/.micromamba/bin:$PATH" # extra space after export prevents interference from conda init
fi
fi fi
unset __mamba_setup unset __mamba_setup
# <<< mamba initialize <<< # <<< mamba initialize <<<