7 lines
189 B
Bash
Executable File
7 lines
189 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Keep a stable SSH agent socket path for tmux panes across reconnects.
|
|
if [ -S "$SSH_AUTH_SOCK" ]; then
|
|
ln -sf "$SSH_AUTH_SOCK" "$HOME/.ssh/current_agent.sock"
|
|
fi
|