From c9703e735b54ba1623be3b84430f321f9c6ef501 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Mon, 13 Nov 2023 18:30:31 -0500 Subject: [PATCH] Please gpg use this tty --- zprofile | 2 ++ zshrc | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 zprofile diff --git a/zprofile b/zprofile new file mode 100644 index 0000000..ecf2ba3 --- /dev/null +++ b/zprofile @@ -0,0 +1,2 @@ +GPG_TTY=$(tty) +export GPG_TTY diff --git a/zshrc b/zshrc index 8175f92..379cca0 100644 --- a/zshrc +++ b/zshrc @@ -187,8 +187,6 @@ cdpath=( $HOME/src ) -export GPG_TTY=$(tty) - function __maybesource() { if [[ -f "${1}" ]]; then if [[ "${2}" == silent ]]; then @@ -256,7 +254,7 @@ if kitty --version &>/dev/null; then kitty + complete setup zsh | source /dev/stdin fi -true - # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh + +true