diff options
author | Justine Smithies <justine@smithies.me.uk> | 2024-11-20 18:15:45 +0000 |
---|---|---|
committer | Justine Smithies <justine@smithies.me.uk> | 2024-11-20 18:15:45 +0000 |
commit | 30a69844b90150b4446bc7a2f741702b8e70a46e (patch) | |
tree | e75e930c787ae4d79fac3c76d60b2eff9fcfed22 /.bashrc | |
parent | 27c5783ea6207506d6c70149427990793ca2c0e3 (diff) |
Added variables to enable gpg-agent to function
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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" |