This commit is contained in:
David Aizenberg
2025-12-09 13:23:23 +01:00
parent 66b9a60139
commit b309851423
14 changed files with 73 additions and 34 deletions

View File

@@ -158,16 +158,16 @@ echo -e "\033]11;#000000\a"
# >>> mamba initialize >>>
# !! Contents within this block are managed by 'mamba init' !!
export MAMBA_EXE="/home/neo/.micromamba/bin/micromamba";
export MAMBA_ROOT_PREFIX="/home/neo/micromamba";
__mamba_setup="$('/home/neo/.micromamba/bin/micromamba' shell hook --shell bash --prefix '/home/neo/micromamba' 2> /dev/null)"
export MAMBA_EXE="$HOME/.micromamba/bin/micromamba";
export MAMBA_ROOT_PREFIX="$HOME/micromamba";
__mamba_setup="$('$HOME/.micromamba/bin/micromamba' shell hook --shell bash --prefix '$HOME/micromamba' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__mamba_setup"
else
if [ -f "/home/neo/micromamba/etc/profile.d/micromamba.sh" ]; then
. "/home/neo/micromamba/etc/profile.d/micromamba.sh"
if [ -f "$HOME/micromamba/etc/profile.d/micromamba.sh" ]; then
. "$HOME/micromamba/etc/profile.d/micromamba.sh"
else
export PATH="/home/neo/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
unset __mamba_setup
@@ -175,14 +175,14 @@ unset __mamba_setup
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/neo/micromamba/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
__conda_setup="$('$HOME/micromamba/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/neo/micromamba/etc/profile.d/conda.sh" ]; then
. "/home/neo/micromamba/etc/profile.d/conda.sh"
if [ -f "$HOME/micromamba/etc/profile.d/conda.sh" ]; then
. "$HOME/micromamba/etc/profile.d/conda.sh"
else
export PATH="/home/neo/micromamba/bin:$PATH"
export PATH="$HOME/micromamba/bin:$PATH"
fi
fi
unset __conda_setup