dotfiles/.ssh/rc

4 lines
126 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 12:18:49 +02:00
ln -sf "$SSH_AUTH_SOCK" "${XDG_RUNTIME_DIR}/ssh-agent.sock";
2020-02-12 12:44:03 +01:00
fi