Export GPG_TTY for interactive shells only

This commit is contained in:
Jordan Holt 2021-07-04 17:32:22 +01:00
parent 9e6e35d401
commit 5593030988
Signed by: jordan
GPG Key ID: B8CFFF61F1CCF520
2 changed files with 3 additions and 1 deletions

View File

@ -1,2 +1 @@
GPG_TTY=$TTY
PATH="/home/jordan/.local/share/cargo/bin:$PATH" PATH="/home/jordan/.local/share/cargo/bin:$PATH"

View File

@ -2,6 +2,9 @@
## zsh configuration ## zsh configuration
#### ####
## Environment
export GPG_TTY=$TTY
## Aliases ## Aliases
source "${XDG_CONFIG_HOME:-${HOME}/.config}/.aliasrc" source "${XDG_CONFIG_HOME:-${HOME}/.config}/.aliasrc"