From e208e1c9f580a921793bd745705bd0bd8f4f164b Mon Sep 17 00:00:00 2001 From: Louis Lacoste Date: Wed, 29 Mar 2023 14:09:56 +0200 Subject: [PATCH] Added cargo and pyenv --- .bash_profile | 1 + .bashrc | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/.bash_profile b/.bash_profile index cefdb24..ba14dfd 100644 --- a/.bash_profile +++ b/.bash_profile @@ -36,3 +36,4 @@ fi if [ -d "/usr/local/go" ]; then PATH="$PATH:/usr/local/go/bin" fi +. "$HOME/.cargo/env" diff --git a/.bashrc b/.bashrc index b702ec2..bf779c6 100644 --- a/.bashrc +++ b/.bashrc @@ -132,5 +132,11 @@ fi unset __conda_setup # <<< conda initialize <<< +export PYENV_ROOT="$HOME/.pyenv" +command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH" +eval "$(pyenv init -)" + + # Fix to emacs not starting in Conda environment export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libc_malloc_debug.so +. "$HOME/.cargo/env"