dotfiles/.ssh/rc
2023-06-06 12:18:49 +02:00

3 lines
126 B
Text
Executable file

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