aboutsummaryrefslogtreecommitdiff
path: root/.zprofile
diff options
context:
space:
mode:
Diffstat (limited to '.zprofile')
-rw-r--r--.zprofile2
1 files changed, 2 insertions, 0 deletions
diff --git a/.zprofile b/.zprofile
index 47eba2e..0cf210e 100644
--- a/.zprofile
+++ b/.zprofile
@@ -1,4 +1,6 @@
# Honor system-wide environment variables
source /etc/profile
+export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
+
[[ -t 0 && $(tty) == /dev/tty2 && $- =~ "l" ]] && source ~/.zshrc && exec startx