File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -46,3 +46,10 @@ PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[0
4646GIT_PS1_SHOWDIRTYSTATE=1
4747GIT_PS1_SHOWSTASHSTATE=1
4848GIT_PS1_SHOWUNTRACKEDFILES=1
49+
50+ # ensure $SSH_AUTH_SOCK is available at /tmp/ssh-agent-$USER-screen
51+ if test $SSH_AUTH_SOCK && [ $SSH_AUTH_SOCK != " /tmp/ssh-agent-$USER -screen" ]
52+ then
53+ rm -f /tmp/ssh-agent-$USER -screen
54+ ln -sf " $SSH_AUTH_SOCK " " /tmp/ssh-agent-$USER -screen"
55+ fi
Original file line number Diff line number Diff line change @@ -21,3 +21,5 @@ attrcolor b ".I"
2121termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
2222# erase background with current bg color
2323defbce "on"
24+
25+ setenv SSH_AUTH_SOCK "/tmp/ssh-agent-$USER-screen"
You can’t perform that action at this time.
0 commit comments