summaryrefslogtreecommitdiff
path: root/zshrc
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2009-09-20 13:55:12 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2009-09-20 13:56:30 +0200
commit75c93ee932c27921d600120ff3a967d4d13c40ec (patch)
treec45f200ef8fce4d4298370ef90dfcf8a77ed0aa2 /zshrc
parent89fdd84ca134c131e70491814f349293feb9c6b1 (diff)
downloaddotfiles-75c93ee932c27921d600120ff3a967d4d13c40ec.tar.xz
zshrc: export SSH_AUTH_SOCK in screen
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc2
1 files changed, 2 insertions, 0 deletions
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=''