From c564bee422174299f044e8d8afeed4deef6ab756 Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Sun, 17 Mar 2024 22:50:24 +0100 Subject: [PATCH] add: GPG_TTY to zshrc --- zshrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zshrc b/zshrc index 3601516..0ebc12d 100644 --- a/zshrc +++ b/zshrc @@ -84,6 +84,8 @@ fi ## build the complete promt ## PS1="${SEPERATOR_LINE}${USER_NAME}${USER_HOST_SEPERATOR}${HOSTNAME}${HOST_PATH_SEPERATOR}${PATH_STR}${VERSION_CONTROL_PROMT}${PATH_INPUT_SEPERATOR}" +export GPG_TTY=$(tty) + ## replace the magic values, i.e. %m with hostname ## setopt promptsubst #enable the promt