From bbe971d799c02faaafbfdadad19fc8d3ad6647f0 Mon Sep 17 00:00:00 2001 From: Daniel Carrillo Date: Sun, 26 Jan 2025 13:29:17 +0100 Subject: [PATCH] [zsh] Use prezto ssh plugin instead of .zshrc --- .zpreztorc | 1 + .zshrc | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.zpreztorc b/.zpreztorc index 90639d0..ef366fd 100644 --- a/.zpreztorc +++ b/.zpreztorc @@ -35,6 +35,7 @@ zstyle ':prezto:load' pmodule \ 'syntax-highlighting' \ 'python' \ 'git' \ + 'ssh' \ 'aws' \ 'fzf-tab' \ 'zsh-z' diff --git a/.zshrc b/.zshrc index 47f5440..c271350 100644 --- a/.zshrc +++ b/.zshrc @@ -154,12 +154,6 @@ bindkey '^P' fzf-file-widget zle -N fzf-file-widget-hidden bindkey '^H' fzf-file-widget-hidden -## SSH agent - -if [ -z $SSH_AUTH_SOCK ] && [ -S "${XDG_RUNTIME_DIR}/ssh-agent.socket" ]; then - export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.socket" -fi - ## direnv eval "$(direnv hook zsh)"