mirror of
https://github.com/FAUSheppy/config
synced 2025-12-08 15:48:32 +01:00
add: GPG_TTY to zshrc
This commit is contained in:
2
zshrc
2
zshrc
@@ -84,6 +84,8 @@ fi
|
|||||||
## build the complete promt ##
|
## build the complete promt ##
|
||||||
PS1="${SEPERATOR_LINE}${USER_NAME}${USER_HOST_SEPERATOR}${HOSTNAME}${HOST_PATH_SEPERATOR}${PATH_STR}${VERSION_CONTROL_PROMT}${PATH_INPUT_SEPERATOR}"
|
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 ##
|
## replace the magic values, i.e. %m with hostname ##
|
||||||
setopt promptsubst #enable the promt
|
setopt promptsubst #enable the promt
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user