summaryrefslogtreecommitdiff
path: root/files/shell/profile
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2026-10-13 17:03:34 -0400
committerAndrew Opalach <andrew@akon.city> 2026-10-13 17:03:34 -0400
commit89387549e2670159a211de39a4ddf668addd9e9e (patch)
treef372f7847a048b0325cc478c272bc7d9da9936f7 /files/shell/profile
parent33567739337783e67167a43557c434accb6fe3a0 (diff)
downloaddotfiles-master.tar.gz
dotfiles-master.tar.bz2
dotfiles-master.zip
Misc updatesHEADmaster
Diffstat (limited to 'files/shell/profile')
-rw-r--r--files/shell/profile12
1 files changed, 7 insertions, 5 deletions
diff --git a/files/shell/profile b/files/shell/profile
index f4cd2f2..be4e612 100644
--- a/files/shell/profile
+++ b/files/shell/profile
@@ -1,13 +1,15 @@
export PATH="$PATH:$HOME/.local/bin"
+
+SSH_AGENT_PID=""
+SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.ssh"
export GPG_TTY=$(tty)
-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 PYTHON_HISTORY=/tmp/python_history
+gpg-connect-agent updatestartuptty /bye >/dev/null
+
# Why aren't these set? elogind?
# https://wiki.gentoo.org/wiki/Configuring_a_system_without_elogind
export XDG_CACHE_HOME="/mnt/ssd/cache"
#export XDG_CONFIG_HOME="${HOME}/.config"
#export XDG_DATA_HOME="${HOME}/.local/share"
#export XDG_STATE_HOME="${HOME}/.local/state"
+
+export PYTHON_HISTORY=/tmp/python_history