dotfiles/home/private_dot_config/zsh/zexists.d/cmd/micromamba.zsh
2024-01-08 17:08:18 -06:00

17 lines
559 B
Bash

#!/usr/bin/env zsh
alias umamba=micromamba
alias um=micromamba
# >>> mamba initialize >>>
# !! Contents within this block are managed by 'mamba init' !!
# not really I manage it myself...
export MAMBA_EXE="$(command -v micromamba)"
export MAMBA_ROOT_PREFIX="$HOME/.micromamba";
__mamba_setup="$("$MAMBA_EXE" shell hook --shell zsh --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 <<<