summaryrefslogtreecommitdiffstatshomepage
path: root/gnupg/.config/zsh/.zshrc.d/20-gnupg.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'gnupg/.config/zsh/.zshrc.d/20-gnupg.zsh')
-rw-r--r--gnupg/.config/zsh/.zshrc.d/20-gnupg.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnupg/.config/zsh/.zshrc.d/20-gnupg.zsh b/gnupg/.config/zsh/.zshrc.d/20-gnupg.zsh
index f9c4fdc..3348c83 100644
--- a/gnupg/.config/zsh/.zshrc.d/20-gnupg.zsh
+++ b/gnupg/.config/zsh/.zshrc.d/20-gnupg.zsh
@@ -4,4 +4,6 @@
GPG_TTY=$(tty)
export GPG_TTY
+gpg-connect-agent updatestartuptty /bye >/dev/null
+
alias unlock='echo "" | gpg --clearsign 1>/dev/null && ssh localhost -- : 1>/dev/null'