summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-02-10 20:52:31 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-02-10 20:52:31 +0100
commitd41813152bf331c4ca70f9c3e05e7ff35201a1e3 (patch)
treec69a8830f2a0cf503042acd05015418dc5a783cd
parentd098892651875bbfb728b89fea89179053f61340 (diff)
feat: add gpg tty export
-rw-r--r--.config/zsh/.zshrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index e59acf1..9dd2d7e 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -2,6 +2,9 @@
# Load plugins first
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc"
+# GPG
+export GPG_TTY="$(tty)"
+
# Uncomment the following line to use case-sensitive completion.
CASE_SENSITIVE="true"