diff options
Diffstat (limited to 'gnupg/.config')
-rw-r--r-- | gnupg/.config/zsh/.zshrc.d/20-gnupg.zsh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnupg/.config/zsh/.zshrc.d/20-gnupg.zsh b/gnupg/.config/zsh/.zshrc.d/20-gnupg.zsh index 23ee6f9..f9c4fdc 100644 --- a/gnupg/.config/zsh/.zshrc.d/20-gnupg.zsh +++ b/gnupg/.config/zsh/.zshrc.d/20-gnupg.zsh @@ -1,4 +1,7 @@ #!/bin/zsh # vim:ft=sh +GPG_TTY=$(tty) +export GPG_TTY + alias unlock='echo "" | gpg --clearsign 1>/dev/null && ssh localhost -- : 1>/dev/null' |