From 75c93ee932c27921d600120ff3a967d4d13c40ec Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Sun, 20 Sep 2009 13:55:12 +0200 Subject: zshrc: export SSH_AUTH_SOCK in screen --- zshrc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'zshrc') diff --git a/zshrc b/zshrc index 256b40c..caf8d37 100644 --- a/zshrc +++ b/zshrc @@ -313,6 +313,8 @@ function setprompt () { ;; screen) PR_TITLEBAR=$'%{\e_screen \005 (\005t) | %(!.*ROOT* |.)%n@%m:%~ | ${COLUMNS}x${LINES} | %y\e\\%}' + # ensure SSH agent is still usable after an X restart + SSH_AUTH_SOCK=`find /tmp/gpg-* -name S.gpg-agent.ssh` ;; *) PR_TITLEBAR='' -- cgit v1.2.3