Looks like it's related to pyenv, fix it by adding the code below in .bashrc:
# emacs-bash-completion will set this variable to "t"
if [ -z $EMACS_BASH_COMPLETE ]; then
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
source "$(pyenv root)/completions/pyenv.bash"
fi
Looks like it's related to
pyenv
, fix it by adding the code below in.bashrc
: