diff options
| author | Mehdi Sadeghi <mehdi@mehdix.org> | 2021-05-30 20:18:39 +0200 |
|---|---|---|
| committer | Mehdi Sadeghi <mehdi@mehdix.org> | 2021-05-30 20:18:39 +0200 |
| commit | 192c3522297871d84a4a1f3b4906d5926c347347 (patch) | |
| tree | 504487459f07679e6eb161b17843090812fff5ee | |
| parent | 9db7fb7a0589a5d74e541a209b3add72cbb2807b (diff) | |
Use correct TTY for GPG Pinentry.
| -rw-r--r-- | .env | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -25,3 +25,7 @@ alias githome='git --git-dir ~/.githome --work-tree ~' alias ls='ls --color -A --group-directories-first --sort=extension' alias recent='ls -ltch' + +# Use correct TTY for GPG Pinentry +export GPG_TTY="$(tty)" +gpg-connect-agent updatestartuptty /bye >/dev/null |
