From 7d32a08454c2c018bd63b0f652d2f29088581d2f Mon Sep 17 00:00:00 2001 From: Vonfry Date: Sat, 26 Jan 2019 14:59:21 +0800 Subject: [PATCH] remove export after ln, because some tools will check the socket path such as pam ssh auth on NixOS. --- modules/ssh/init.zsh | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/ssh/init.zsh b/modules/ssh/init.zsh index 08edce57..6542f8b2 100644 --- a/modules/ssh/init.zsh +++ b/modules/ssh/init.zsh @@ -33,7 +33,6 @@ fi # Create a persistent SSH authentication socket. if [[ -S "$SSH_AUTH_SOCK" && "$SSH_AUTH_SOCK" != "$_ssh_agent_sock" ]]; then ln -sf "$SSH_AUTH_SOCK" "$_ssh_agent_sock" - export SSH_AUTH_SOCK="$_ssh_agent_sock" fi # Load identities.