]> git.rmz.io Git - dotfiles.git/blob - zsh/lib/gpg.zsh
Makefile: fix some target dependencies
[dotfiles.git] / zsh / lib / gpg.zsh
1 if (( ! $+commands[gpg] )); then
2 return 1
3 fi
4
5 # Inform gpg-agent of the current TTY for user prompts.
6 export GPG_TTY="$(tty)"
7 if [[ -n "$SSH_CONNECTION" ]]; then
8 export PINENTRY_USER_DATA="USE_CURSES=1"
9 fi