Allow ssh-agent forward in screen/tmux

This commit is contained in:
Hunter Haugen 2010-10-18 09:47:04 -07:00
parent 3b5a270a23
commit b2659b6d84

5
.zshrc
View file

@ -110,6 +110,9 @@ else
export VISUAL=vi
export EDITOR=vi
fi
if [ -n "$SSH_AUTH_SOCK" ] ; then
ln -fs $SSH_AUTH_SOCK $HOME/.ssh-agent
fi
#xset fp+ /usr/APL2/fonts/X11
#xset fp rehash
#if [ -d $HOME/.gems/gems ] ; then
@ -157,7 +160,7 @@ alias sl="screen -ls"
alias sr="screen -r"
alias sx="screen -x"
alias srd="screen -rd"
alias t="SSH_AUTH_SOCK=$HOME/.tmux-ssh-agent TERM=xterm-256color tmux at"
alias t="SSH_AUTH_SOCK=$HOME/.ssh-agent TERM=xterm-256color tmux at"
alias tl="tmux ls"
alias bc="bc -q"
alias fm="fmstatus.sh&;shell-fm"