From 46d54a53af22b9f275a3282ec9d6d98c352322ba Mon Sep 17 00:00:00 2001 From: Daryl Ronningen Date: Thu, 23 Jun 2022 17:07:52 +0800 Subject: [PATCH] make gpg work in WSL --- .zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.zshrc b/.zshrc index 7be70be..0d24cb2 100644 --- a/.zshrc +++ b/.zshrc @@ -109,6 +109,9 @@ gitlog() { # Load nvm source /usr/share/nvm/init-nvm.sh +# Make GPG work in WSL +export GPG_TTY=$(tty) + # Set starship Prompt eval "$(starship init zsh)"