commit f845e11fe281dd144311ff619cf16388a0f636e3
parent 685674c33e8ad0839d9eed7873df64e0314caa45
Author: Luke Smith <luke@lukesmith.xyz>
Date: Thu, 16 Sep 2021 15:07:47 -0400
fix #745, avoid incompatibility
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/mailsync b/bin/mailsync
@@ -25,7 +25,7 @@ eval "$(grep -h -- \
"$HOME/.profile" "$HOME/.bash_profile" "$HOME/.zprofile" "$HOME/.config/zsh/.zprofile" "$HOME/.zshenv" \
"$HOME/.bashrc" "$HOME/.zshrc" "$HOME/.config/zsh/.zshrc" "$HOME/.pam_environment" 2>/dev/null)"
-export GPG_TTY=$TTY
+export GPG_TTY="$(tty)"
[ -n "$MBSYNCRC" ] && alias mbsync="mbsync -c $MBSYNCRC" || MBSYNCRC="$HOME/.mbsyncrc"