From 30a69844b90150b4446bc7a2f741702b8e70a46e Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Wed, 20 Nov 2024 18:15:45 +0000 Subject: Added variables to enable gpg-agent to function --- .bashrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.bashrc b/.bashrc index bac63b9..511319b 100644 --- a/.bashrc +++ b/.bashrc @@ -91,6 +91,10 @@ export SAL_USE_VCLPLUGIN=gtk3 # If using musl then set this variable to ensure tree-sitter grammars can be loaded correctly # export RUSTFLAGS="-C target-feature=-crt-static" +# Always add below to allow gpg-agent to work correctly +GPG_TTY=$(tty) +export GPG_TTY + # Enable the use of ssh-agent if ! pgrep -u "$USER" ssh-agent > /dev/null; then ssh-agent -t 1h > "$XDG_RUNTIME_DIR/ssh-agent.env" -- cgit v1.2.3