summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2023-03-01 18:04:18 -0600
committerToby Vincent <tobyv13@gmail.com>2023-03-01 18:04:18 -0600
commit850a5722b7b082600d9d2efed1d3667656910476 (patch)
tree82097a450981aee753aed6dc7a51c9d6ddb564c9
parentabb101fa69e7f21cfb9c0d1394c9674230ec830a (diff)
fix(gnupg): forward stderr when updating tty
-rw-r--r--gnupg/.config/zsh/.zshrc.d/20-gnupg.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnupg/.config/zsh/.zshrc.d/20-gnupg.zsh b/gnupg/.config/zsh/.zshrc.d/20-gnupg.zsh
index 3348c83..532697e 100644
--- a/gnupg/.config/zsh/.zshrc.d/20-gnupg.zsh
+++ b/gnupg/.config/zsh/.zshrc.d/20-gnupg.zsh
@@ -4,6 +4,6 @@
GPG_TTY=$(tty)
export GPG_TTY
-gpg-connect-agent updatestartuptty /bye >/dev/null
+gpg-connect-agent updatestartuptty /bye >/dev/null 2>&1
alias unlock='echo "" | gpg --clearsign 1>/dev/null && ssh localhost -- : 1>/dev/null'