X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/c70fa4f783b14514604f35366a4a84ff23a7d008..00f62560dd33ea4bd4dc6b2000616f3f761ce5b5:/zsh/lib/gpg.zsh?ds=inline diff --git a/zsh/lib/gpg.zsh b/zsh/lib/gpg.zsh index a9f81a2..b127416 100644 --- a/zsh/lib/gpg.zsh +++ b/zsh/lib/gpg.zsh @@ -4,6 +4,6 @@ fi # Inform gpg-agent of the current TTY for user prompts. export GPG_TTY="$(tty)" -if [[ -n "$SSH_CONNECTION" ]]; then +if [[ -z "$DISPLAY" ]]; then export PINENTRY_USER_DATA="curses" fi