aboutsummaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc4
1 files changed, 4 insertions, 0 deletions
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"