blob: 0b3c42299163688b2bf7d1ca1ab3df171438adda (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/zsh
# vim:ft=sh
if [ -t 0 ] && [ -z "$SSH_TTY" ]; then
export GPG_TTY="$(tty)"
export PINENTRY_USER_DATA=USE_TTY=1
fi
gpg-connect-agent updatestartuptty /bye >/dev/null 2>&1
|