2024-01-08 17:07:54 -06:00
|
|
|
#!/usr/bin/env zsh
|
2023-02-17 09:26:31 -06:00
|
|
|
alias umamba=micromamba
|
2023-02-20 15:33:43 -06:00
|
|
|
alias um=micromamba
|
2023-02-17 09:26:31 -06:00
|
|
|
|
|
|
|
# >>> mamba initialize >>>
|
|
|
|
# !! Contents within this block are managed by 'mamba init' !!
|
2024-01-08 17:07:54 -06:00
|
|
|
# not really I manage it myself...
|
|
|
|
export MAMBA_EXE="$(command -v micromamba)"
|
2023-02-17 09:26:31 -06:00
|
|
|
export MAMBA_ROOT_PREFIX="$HOME/.micromamba";
|
2024-01-08 17:07:54 -06:00
|
|
|
__mamba_setup="$("$MAMBA_EXE" shell hook --shell zsh --root-prefix "$MAMBA_ROOT_PREFIX" 2> /dev/null)"
|
2023-02-17 09:26:31 -06:00
|
|
|
if [ $? -eq 0 ]; then
|
|
|
|
eval "$__mamba_setup"
|
|
|
|
else
|
2024-01-08 17:07:54 -06:00
|
|
|
alias micromamba="$MAMBA_EXE" # Fallback on help from mamba activate
|
2023-02-17 09:26:31 -06:00
|
|
|
fi
|
|
|
|
unset __mamba_setup
|
|
|
|
# <<< mamba initialize <<<
|