From cd7898ef9476c48818d29b049ed5fa6b4d4ce8eb Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 23 Feb 2023 13:49:06 +0000 Subject: [PATCH] Remove pyenv setup from zprofile, add check for is_rsa as well as ed25519 --- home/zprofile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/home/zprofile b/home/zprofile index 7a8fa6a1..e481fe54 100644 --- a/home/zprofile +++ b/home/zprofile @@ -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