zsh: set GPG_TTY
This commit is contained in:
parent
b638b4d1ac
commit
ef49637052
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue