From 3d6356bb02a61986fd4b013d1acff1b510dd7f74 Mon Sep 17 00:00:00 2001 From: earnest ma Date: Wed, 13 Apr 2022 12:21:26 -0400 Subject: [PATCH] gpg/ git over ssh --- zsh/.zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zsh/.zshrc b/zsh/.zshrc index f407df8..477b368 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -70,6 +70,10 @@ if [[ "$HOST" == core.envs.net ]]; then export GPG_TTY=$(tty) fi +if [[ "$HOST" == tycho && -z "$DISPLAY" ]]; then + export GPG_TTY=$(tty) +fi + # pash configuration export PASH_KEYID=BF66E5C8A1416E2A857C774CA343F43342EB6E2A pash() {