update conda inits
This commit is contained in:
parent
ebd1a40e37
commit
db6188d61d
1 changed files with 14 additions and 14 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
# >>> conda initialize >>>
|
# >>> conda initialize >>>
|
||||||
# !! Contents within this block are managed by 'conda init' !!
|
# !! Contents within this block are managed by 'conda init' !!
|
||||||
__conda_setup="$('$HOME/mambaforge/bin/conda' 'shell.zsh' 'hook' 2>/dev/null)"
|
__conda_setup="$('$HOME/mambaforge/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
eval "$__conda_setup"
|
eval "$__conda_setup"
|
||||||
else
|
else
|
||||||
|
@ -24,16 +24,16 @@ fi
|
||||||
|
|
||||||
# >>> 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/daylin/.local/bin/micromamba"
|
export MAMBA_EXE="$HOME/.local/bin/micromamba"
|
||||||
export MAMBA_ROOT_PREFIX="/home/daylin/micromamba"
|
export MAMBA_ROOT_PREFIX="$HOME/micromamba"
|
||||||
__mamba_setup="$('/home/daylin/.local/bin/micromamba' shell hook --shell zsh --prefix '/home/daylin/micromamba' 2>/dev/null)"
|
__mamba_setup="$('$HOME/.local/bin/micromamba' shell hook --shell zsh --prefix '/home/daylin/micromamba' 2>/dev/null)"
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
eval "$__mamba_setup"
|
eval "$__mamba_setup"
|
||||||
else
|
else
|
||||||
if [ -f "/home/daylin/micromamba/etc/profile.d/micromamba.sh" ]; then
|
if [ -f "$HOME/micromamba/etc/profile.d/micromamba.sh" ]; then
|
||||||
. "/home/daylin/micromamba/etc/profile.d/micromamba.sh"
|
. "$HOME/micromamba/etc/profile.d/micromamba.sh"
|
||||||
else
|
else
|
||||||
export PATH="/home/daylin/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
|
||||||
|
|
Loading…
Reference in a new issue