File tree 2 files changed +11
-0
lines changed
2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -12,3 +12,7 @@ vbell off # no visual bell
12
12
# Display status line: All windows, with the active window highlighted. Time and date right aligned.
13
13
# hardstatus alwayslastline "%{= kR} %-Lw%{=b Kk} %n%f %t %{-}%+Lw %=%{= kR}%C%A %D, %M/%d/%Y %{= dd}"
14
14
hardstatus alwayslastline "%-Lw%{=b bw} %n%f %t %{-}%+Lw %=%C%A %D, %M/%d/%Y %{= dd}"
15
+
16
+ # http://www.jukie.net/bart/blog/screen-ssh-agent
17
+ unsetenv SSH_AUTH_SOCK
18
+ setenv SSH_AUTH_SOCK $HOME/.screen/ssh-auth-sock.$HOST
Original file line number Diff line number Diff line change @@ -71,3 +71,10 @@ alias suvi=sudovim
71
71
autoload zmv
72
72
# Easy "mass move" alias
73
73
alias mmv=' noglob zmv -W'
74
+
75
+ # http://www.jukie.net/bart/blog/screen-ssh-agent
76
+ _ssh_auth_save () {
77
+ mkdir -p " $HOME /.screen"
78
+ ln -sf " $SSH_AUTH_SOCK " " $HOME /.screen/ssh-auth-sock.$HOST "
79
+ }
80
+ alias screen=' _ssh_auth_save && HOST="$HOST" screen'
You can’t perform that action at this time.
0 commit comments