diff --git a/.bashrc b/.bashrc index 1d9885bf..e779180f 100644 --- a/.bashrc +++ b/.bashrc @@ -47,8 +47,12 @@ alias l='ls -CF' command -v nvim > /dev/null 2>&1 && export EDITOR=nvim || export EDITOR=vi command -v xed > /dev/null 2>&1 && export VISUAL=xed || export VISUAL=vi -if [ -d "$HOME/.bashrc.local" ] ; then +if [ -f "$HOME/.bashrc.local" ] ; then source "$HOME/.bashrc.local" fi -eval "$(starship init bash)" +export PYENV_ROOT="$HOME/.pyenv" +command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH" +command -v pyenv >/dev/null && eval "$(pyenv init -)" +command -v direnv > /dev/null 2>&1 && eval "$(direnv hook bash)" +command -v starship > /dev/null 2>&1 && eval "$(starship init bash)"