this may go bye bye soon
This commit is contained in:
parent
265ddd8265
commit
e2bff61012
1 changed files with 17 additions and 0 deletions
|
@ -22,6 +22,23 @@ fi
|
||||||
|
|
||||||
! is-tty && [ -d "$HOME/mambaforge/envs/dev" ] && conda activate dev
|
! 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() {
|
snake() {
|
||||||
if [[ $1 == "no" ]]; then
|
if [[ $1 == "no" ]]; then
|
||||||
if [[ $VIRTUAL_ENV != "" ]]; then
|
if [[ $VIRTUAL_ENV != "" ]]; then
|
||||||
|
|
Loading…
Reference in a new issue