ZSH: Remove old unused linkAuthSock setup
Alan Pearce alan@alanpearce.co.uk
Thu, 24 Dec 2015 19:56:35 +0000
1 files changed, 0 insertions(+), 14 deletions(-)
jump to
M tag-zsh/config/zsh/zshrc → tag-zsh/config/zsh/zshrc
@@ -30,20 +30,6 @@ ) users=(alan root toor) -function linkAuthSock () { - local linkSock=~/.ssh/ssh_auth_sock - ln -sf $1 ~/.ssh/ssh_auth_sock - export SSH_AUTH_SOCK=$linkSock -} - -if [[ "$SSH_AUTH_SOCK" != "" ]] -then - if [[ -e ~/.ssh/ssh_auth_sock && ! -L ~/.ssh/ssh_auth_sock ]] - then - linkAuthSock $SSH_AUTH_SOCK - fi -fi - if [[ $os == "gnu" ]] then export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"