Remove pyenv setup from zprofile, add check for is_rsa as well as ed25519
This commit is contained in:
parent
7be2032f87
commit
cd7898ef94
|
@ -1,10 +1,9 @@
|
|||
command -v pyenv > /dev/null && {
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
echo $PATH | grep -i pyenv > /dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
eval "$(pyenv init --path)"
|
||||
}
|
||||
|
||||
if [[ -e $HOME/.ssh/id_ed25519 ]]
|
||||
then
|
||||
command -v keychain > /dev/null && eval $(keychain --eval --quiet --noask $HOME/.ssh/id_ed25519)
|
||||
fi
|
||||
|
||||
if [[ -e $HOME/.ssh/id_rsa ]]
|
||||
then
|
||||
command -v keychain > /dev/null && eval $(keychain --eval --quiet --noask $HOME/.ssh/id_rsa)
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue