Files
infra/dotfiles/desktop/.bashrc.d/10-gpg-tty.sh
2026-04-03 22:47:24 +02:00

5 lines
103 B
Bash

if tty -s; then
export GPG_TTY="$(tty)"
gpg-connect-agent updatestartuptty /bye >/dev/null 2>&1
fi