Skip to content

Commit

Permalink
remove export after ln, because some tools will check the socket path
Browse files Browse the repository at this point in the history
such as pam ssh auth on NixOS.
  • Loading branch information
Vonfry committed Jan 26, 2019
1 parent 2e1b45c commit 7d32a08
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/ssh/init.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7d32a08

Please sign in to comment.