]> git.rmz.io Git - dotfiles.git/blobdiff - zsh/lib/gpg.zsh
nvim: add FPP copyright snippet
[dotfiles.git] / zsh / lib / gpg.zsh
index 7b977d40eb8275720b5165fe146ef1bb62125c42..a9f81a2ebd255db545a0b987adb5caed23a6076a 100644 (file)
@@ -4,3 +4,6 @@ fi
 
 # Inform gpg-agent of the current TTY for user prompts.
 export GPG_TTY="$(tty)"
+if [[ -n "$SSH_CONNECTION" ]]; then
+    export PINENTRY_USER_DATA="curses"
+fi