From fefcda0019dd8db62f0691700db7cfc2733c4985 Mon Sep 17 00:00:00 2001 From: surtur Date: Fri, 18 Aug 2023 16:02:12 +0200 Subject: [PATCH] zshrc: disable manually running ssh-agent --- .zshrc | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.zshrc b/.zshrc index 451a01e..1ef5d22 100644 --- a/.zshrc +++ b/.zshrc @@ -148,13 +148,15 @@ LANG=en_GB.UTF-8 http_proxy="http://localhost:8118" - if [ -z "$SSH_AUTH_SOCK" ]; then - eval `ssh-agent -s -t6h` > /dev/null - if [ ! -S $HOME/.ssh/ssh_auth_sock ]; then - ln -sf "$SSH_AUTH_SOCK" $HOME/.ssh/ssh_auth_sock - SSH_AUTH_SOCK=$HOME/.ssh/ssh_auth_sock - fi - fi + ## use omz plugin. + # + #if [ -z "$SSH_AUTH_SOCK" ]; then + # eval `ssh-agent -s -t6h` > /dev/null + # if [ ! -S $HOME/.ssh/ssh_auth_sock ]; then + # ln -sf "$SSH_AUTH_SOCK" $HOME/.ssh/ssh_auth_sock + # SSH_AUTH_SOCK=$HOME/.ssh/ssh_auth_sock + # fi + #fi export EDITOR='vim'