From 70dd3cd2f9db85bc1e3a9d7420427bb1d7fce723 Mon Sep 17 00:00:00 2001 From: Yuri Zamyatin Date: Sun, 15 Feb 2026 21:24:50 +0000 Subject: [PATCH] wip --- arch-user/config/bash/bashrc | 3 +++ arch-user/config/gnupg/env.sh | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch-user/config/bash/bashrc b/arch-user/config/bash/bashrc index fbb8a5a..74efa8c 100644 --- a/arch-user/config/bash/bashrc +++ b/arch-user/config/bash/bashrc @@ -23,6 +23,9 @@ export EDITOR=vim export FZF_COMPLETION_TRIGGER='*' eval "$(fzf --bash)" +export GPG_TTY=$(tty) +gpg-connect-agent updatestartuptty /bye >/dev/null + PS0+='\e]133;C\e\\' command_done() { printf '\e]133;D\e\\' diff --git a/arch-user/config/gnupg/env.sh b/arch-user/config/gnupg/env.sh index 92f5efb..89485fe 100755 --- a/arch-user/config/gnupg/env.sh +++ b/arch-user/config/gnupg/env.sh @@ -3,5 +3,3 @@ unset SSH_AGENT_PID if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" fi -export GPG_TTY=$(tty) -gpg-connect-agent updatestartuptty /bye >/dev/null