From e2bff61012481702c2f0142c6567ac4483a57bb9 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Thu, 1 Sep 2022 23:38:12 -0500 Subject: [PATCH] this may go bye bye soon --- lib/conda.zsh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/lib/conda.zsh b/lib/conda.zsh index bd5a663..d9311c6 100755 --- a/lib/conda.zsh +++ b/lib/conda.zsh @@ -22,6 +22,23 @@ fi ! is-tty && [ -d "$HOME/mambaforge/envs/dev" ] && conda activate dev +# >>> mamba initialize >>> +# !! Contents within this block are managed by 'mamba init' !! +export MAMBA_EXE="/home/daylin/.local/bin/micromamba"; +export MAMBA_ROOT_PREFIX="/home/daylin/micromamba"; +__mamba_setup="$('/home/daylin/.local/bin/micromamba' shell hook --shell zsh --prefix '/home/daylin/micromamba' 2> /dev/null)" +if [ $? -eq 0 ]; then + eval "$__mamba_setup" +else + if [ -f "/home/daylin/micromamba/etc/profile.d/micromamba.sh" ]; then + . "/home/daylin/micromamba/etc/profile.d/micromamba.sh" + else + export PATH="/home/daylin/micromamba/bin:$PATH" # extra space after export prevents interference from conda init + fi +fi +unset __mamba_setup +# <<< mamba initialize <<< + snake() { if [[ $1 == "no" ]]; then if [[ $VIRTUAL_ENV != "" ]]; then