diff --git a/dotfiles/.config/zsh/.zshrc b/dotfiles/.config/zsh/.zshrc index 7aed238..52a24e4 100644 --- a/dotfiles/.config/zsh/.zshrc +++ b/dotfiles/.config/zsh/.zshrc @@ -78,3 +78,13 @@ bracketed-paste() { } zle -N bracketed-paste + +export MAMBA_EXE='/usr/bin/micromamba'; +export MAMBA_ROOT_PREFIX="$HOME/.conda"; +__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" +fi +unset __mamba_setup