From 37be7d671a6d26d8e9bb79a85048d3392fade1b8 Mon Sep 17 00:00:00 2001 From: cashmere Date: Thu, 16 Jul 2026 16:55:45 +0200 Subject: dotfiles.org: update `.xonshrc` --- dotfiles.org | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'dotfiles.org') diff --git a/dotfiles.org b/dotfiles.org index 50c5c7f..10764c6 100644 --- a/dotfiles.org +++ b/dotfiles.org @@ -107,8 +107,14 @@ exec i3 import subprocess, shutil $PATH.insert(0, $HOME + '/.cargo/bin') +$PATH.insert(0, $HOME + '/.local/bin') + $GPG_TTY = $(tty).strip() -subprocess.run(["gpg-connect-agent", "updatestartuptty", "/bye"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) + +if shutil.which("gpg-agent"): + subprocess.run(["gpgconf", "--launch", "gpg-agent"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) + $SSH_AUTH_SOCK = $(gpgconf --list-dirs agent-ssh-socket).strip() + subprocess.run(["gpg-connect-agent", "updatestartuptty", "/bye"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) if shutil.which("atuin"): running = subprocess.run(["pgrep", "-x", "atuin"], capture_output=True).returncode == 0 -- cgit v1.3.1