From c6eb8e5092b22e4bb611deb5a11273547f8b1f1e Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Fri, 17 Apr 2026 14:47:34 +0100 Subject: fix: set GPG_TTY per interactive shell, not just at login GPG_TTY was set in .zprofile (login shell) to /dev/tty1, but terminal emulator shells get /dev/pts/N. Move the export to .zshrc so each interactive shell sets the correct TTY before telling the agent. --- home/.config/zsh/.zprofile | 1 - 1 file changed, 1 deletion(-) (limited to 'home/.config/zsh/.zprofile') diff --git a/home/.config/zsh/.zprofile b/home/.config/zsh/.zprofile index c1af85d..30b5b21 100644 --- a/home/.config/zsh/.zprofile +++ b/home/.config/zsh/.zprofile @@ -39,7 +39,6 @@ export LESS="-F --RAW-CONTROL-CHARS" [[ -r /usr/bin/source-highlight-esc.sh ]] && export LESSOPEN="| /usr/bin/source-highlight-esc.sh %s" # ── GPG / SSH ───────────────────────────────────────────────────────────────── -export GPG_TTY=$TTY unset SSH_AGENT_PID export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" -- cgit v1.2.3-70-g09d2