mirror of
https://github.com/sorin-ionescu/prezto.git
synced 2025-01-23 07:22:15 +08:00
remove export after ln, because some tools will check the socket path
such as pam ssh auth on NixOS.
This commit is contained in:
parent
2e1b45c048
commit
7d32a08454
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user