diff --git a/home/bash-config/bashrc.local b/home/bash-config/bashrc.local index 5597e38..9e81b44 100644 --- a/home/bash-config/bashrc.local +++ b/home/bash-config/bashrc.local @@ -33,7 +33,7 @@ HISTFILESIZE=2000 #activate python -source /home/ys/Data/projects/code/Python/Envs/General/bin/activate +#source /home/ys/Data/projects/code/Python/Envs/General/bin/activate # Set up fzf key bindings and fuzzy completion @@ -45,3 +45,35 @@ export PATH="$PATH:$HOME/.lmstudio/bin" # ask scrcpy to use a specific adb binary, export ADB=/usr/bin/adb + + + + +# >>> conda initialize >>> +# !! Contents within this block are managed by 'conda init' !! +__conda_setup="$('/home/ys/miniforge3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)" +if [ $? -eq 0 ]; then + eval "$__conda_setup" +else + if [ -f "/home/ys/miniforge3/etc/profile.d/conda.sh" ]; then + . "/home/ys/miniforge3/etc/profile.d/conda.sh" + else + export PATH="/home/ys/miniforge3/bin:$PATH" + fi +fi +unset __conda_setup +# <<< conda initialize <<< + + +# >>> mamba initialize >>> +# !! Contents within this block are managed by 'mamba shell init' !! +export MAMBA_EXE='/home/ys/miniforge3/bin/mamba'; +export MAMBA_ROOT_PREFIX='/home/ys/miniforge3'; +__mamba_setup="$("$MAMBA_EXE" shell hook --shell bash --root-prefix "$MAMBA_ROOT_PREFIX" 2> /dev/null)" +if [ $? -eq 0 ]; then + eval "$__mamba_setup" +else + alias mamba="$MAMBA_EXE" # Fallback on help from mamba activate +fi +unset __mamba_setup +# <<< mamba initialize <<<