#339 + (0) -
10/15/2010 20:39

13:33 < ian> i just add this to .zshrc
13:33 < ian> _screen_prep() {
13:33 < ian> if [ "$SSH_AUTH_SOCK" != "$HOME/.screen/ssh-auth-sock.$HOSTNAME" ] ; then
13:34 < ian> ln -fs "$SSH_AUTH_SOCK" "$HOME/.screen/ssh-auth-sock.$HOSTNAME"
13:34 < ian> fi
13:34 < ian> }
13:34 < ian> alias screen='_screen_prep ; screen'
13:34 < ian> and this to .screenrc
13:34 < ian> unsetenv SSH_AUTH_SOCK
13:34 < ian> setenv SSH_AUTH_SOCK "$HOME/.screen/ssh-auth-sock.$HOSTNAME"
13:34 < tmmecke> so your keys get setup when you start screen
13:34 < joshu> wait, what's the problem being solved here?
13:34 < crimsonzen> unix

Tags: No tags