change umamba startup

This commit is contained in:
Daylin Morgan 2022-12-08 11:01:14 -06:00
parent 2c5efd8195
commit 9e563c1d7f

View file

@ -18,27 +18,31 @@ unset __conda_setup
if [ -f "$HOME/mambaforge/etc/profile.d/mamba.sh" ]; then if [ -f "$HOME/mambaforge/etc/profile.d/mamba.sh" ]; then
. "$HOME/mambaforge/etc/profile.d/mamba.sh" . "$HOME/mambaforge/etc/profile.d/mamba.sh"
fi fi
# <<< conda initialize <<< # <<< conda initialize <<<
# ! is-tty && [ -d "$HOME/mambaforge/envs/dev" ] && conda activate dev # ! is-tty && [ -d "$HOME/mambaforge/envs/dev" ] && conda activate dev
# >>> mamba initialize >>> # >>> mamba initialize >>>
# !! Contents within this block are managed by 'mamba init' !! # !! Contents within this block are managed by 'mamba init' !!
export MAMBA_EXE="$HOME/.local/bin/micromamba" export MAMBA_EXE="$HOME/bin/micromamba";
export MAMBA_ROOT_PREFIX="$HOME/micromamba" export MAMBA_ROOT_PREFIX="$HOME/micromamba";
__mamba_setup="$("$HOME/.local/bin/micromamba" shell hook --shell zsh --prefix "$HOME/micromamba" 2>/dev/null)" __mamba_setup="$('$HOME/bin/micromamba' shell hook --shell zsh --prefix '$HOME/micromamba' 2> /dev/null)"
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
eval "$__mamba_setup" eval "$__mamba_setup"
else else
if [ -f "$HOME/micromamba/etc/profile.d/micromamba.sh" ]; then if [ -f "$HOME/micromamba/etc/profile.d/micromamba.sh" ]; then
. "$HOME/micromamba/etc/profile.d/micromamba.sh" . "$HOME/micromamba/etc/profile.d/micromamba.sh"
else else
export PATH="$HOME/micromamba/bin:$PATH" # extra space after export prevents interference from conda init export PATH="$HOME/micromamba/bin:$PATH" # extra space after export prevents interference from conda init
fi fi
fi fi
unset __mamba_setup unset __mamba_setup
# <<< mamba initialize <<< # <<< mamba initialize <<<
# <<< mamba initialize <<<
snake() { snake() {
if [[ $1 == "no" ]]; then if [[ $1 == "no" ]]; then
if [[ $VIRTUAL_ENV != "" ]]; then if [[ $VIRTUAL_ENV != "" ]]; then