diff options
author | Matthew Lemon <y@yulqen.org> | 2023-06-12 19:10:34 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-06-12 19:10:34 +0100 |
commit | 7668bb165fae3ef0a2f07e6cfff436e78e8ee05f (patch) | |
tree | d3669e2d433b3d14de60986e4d6d8c437ddc938c | |
parent | 36804a96cbfa1bc7ef91f6f5a8aa2df9d0db1941 (diff) |
Adds GPG_TTY environment variable
-rw-r--r-- | bashrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2,6 +2,10 @@ # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) # for examples +# as advised by https://manpages.debian.org/buster/gpg-agent/gpg-agent.1.en.html +GPG_TTY=$(tty) +export GPG_TTY + # If not running interactively, don't do anything case $- in *i*) ;; |