Remove pyenv shell integration, shims get in the way too much...
This commit is contained in:
parent
e886694e0f
commit
250684f15c
1
.bashrc
1
.bashrc
|
@ -51,7 +51,6 @@ fi
|
||||||
export PYENV_ROOT="$HOME/.pyenv"
|
export PYENV_ROOT="$HOME/.pyenv"
|
||||||
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
|
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 direnv > /dev/null 2>&1 && eval "$(direnv hook bash)"
|
||||||
command -v starship > /dev/null 2>&1 && eval "$(starship init bash)"
|
command -v starship > /dev/null 2>&1 && eval "$(starship init bash)"
|
||||||
|
|
||||||
|
|
1
.zshrc
1
.zshrc
|
@ -52,7 +52,6 @@ fi
|
||||||
export PYENV_ROOT="$HOME/.pyenv"
|
export PYENV_ROOT="$HOME/.pyenv"
|
||||||
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
|
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 zsh)"
|
command -v direnv > /dev/null 2>&1 && eval "$(direnv hook zsh)"
|
||||||
command -v starship > /dev/null 2>&1 && eval "$(starship init zsh)"
|
command -v starship > /dev/null 2>&1 && eval "$(starship init zsh)"
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
if status is-interactive
|
if status is-interactive
|
||||||
set -gx PYENV_ROOT $HOME/.pyenv
|
set -gx PYENV_ROOT $HOME/.pyenv
|
||||||
set -g fish_user_paths $PYENV_ROOT/bin $fish_user_paths
|
set -g fish_user_paths $PYENV_ROOT/bin $fish_user_paths
|
||||||
pyenv init - | source
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue