Compare commits

..

2 commits

Author SHA1 Message Date
e2bff61012 this may go bye bye soon 2022-09-01 23:38:12 -05:00
265ddd8265 micromamba is here to stay 2022-09-01 23:38:04 -05:00
2 changed files with 19 additions and 0 deletions

View file

@ -58,3 +58,5 @@ alias pdm-start='eval "$(pdm shell)"'
alias mkrt='make -C $(git rev-parse --show-toplevel)'
alias mk="make"
alias mkc="make -C"
alias umamba="micromamba"

View file

@ -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