dotfiles/.ssh/rc
2023-06-06 13:02:41 +02:00

3 lines
128 B
Text
Executable file

if [[ -S "$SSH_AUTH_SOCK" && ! -h "$SSH_AUTH_SOCK" ]]; then
ln -sf "$SSH_AUTH_SOCK" "${XDG_RUNTIME_DIR}/ssh-agent.socket";
fi