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"