commit ccff273c1b948c794f7119d327b79eec56443b32
parent 455dbd7b731decce8fbc2530c9353e9b1ba2c602
Author: FIGBERT <figbert@figbert.com>
Date: Thu, 22 Jul 2021 18:58:58 -0700
Fix error when using GPG on voidbert
I found the solution here: https://stackoverflow.com/a/57591830
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl
@@ -7,6 +7,7 @@ export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=8"
export XDG_CONFIG_HOME="{{ .chezmoi.homeDir }}/.config"
{{ if eq .chezmoi.hostname "voidbert" -}}
export XDG_RUNTIME_DIR="/run/user/figbert"
+export GPG_TTY="$(tty)"
source {{ .chezmoi.homeDir }}/.ssh/agent > /dev/null
{{ end -}}
{{ if eq .chezmoi.os "darwin" -}}