1
0
Fork 0

zsh: set GPG_TTY

This commit is contained in:
tastytea 2022-08-01 22:32:29 +02:00
parent b638b4d1ac
commit ef49637052
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 2 additions and 0 deletions

View File

@ -130,6 +130,8 @@ if type emacsclient >& - \
alias $(command -v emacsremote)="TERM=${TERM%-*}-direct $(command -v emacsremote)"
fi
export GPG_TTY=$(tty)
case ${TERM} in
(dumb) # Emacs shells and TRAMP.
unsetopt ZLE