add the functions needed for some keybindings
[zsh.git] / .zsh / functions / ssha
1 ## vim:ft=zsh:foldmethod=marker
2
3 (
4 local SSH_AUTH_SOCK
5 local SSH_AGENT_PID
6 eval `ssh-agent`
7 ssh-add -c
8 ssh -o ControlPath=none -A "$@"
9 kill $SSH_AGENT_PID
10 )