From cbfbbd05c2c9d18d526ce21255413caee8f07048 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Fri, 6 Oct 2023 22:58:47 -0300 Subject: [PATCH] Update .zshrc --- dotfiles/.config/zsh/.zshrc | 10 ++++++++++ 1 file changed, 10 insertions(+) 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