8 lines
208 B
Bash
Executable file
8 lines
208 B
Bash
Executable file
#!/bin/sh
|
|
|
|
if [ "${SSH_AUTH_SOCK:-0}" -ne $$ ]; then
|
|
sock="$(gpgconf --list-dirs agent-ssh-socket)"
|
|
export SSH_AUTH_SOCK=$sock
|
|
fi
|
|
export GPG_TTY="$TTY"
|
|
gpg-connect-agent updatestartuptty /bye >/dev/null
|