dotfiles/.ssh/rc

4 lines
128 B
Text
Raw Normal View History

2020-02-12 12:44:03 +01:00
if [[ -S "$SSH_AUTH_SOCK" && ! -h "$SSH_AUTH_SOCK" ]]; then
2023-06-06 13:02:35 +02:00
ln -sf "$SSH_AUTH_SOCK" "${XDG_RUNTIME_DIR}/ssh-agent.socket";
2020-02-12 12:44:03 +01:00
fi