add: GPG_TTY to zshrc

This commit is contained in:
2024-03-17 22:50:24 +01:00
parent 46fe19ce5e
commit c564bee422

2
zshrc
View File

@@ -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