diff options
Diffstat (limited to 'zshfunc')
-rw-r--r-- | zshfunc/ssha | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zshfunc/ssha b/zshfunc/ssha index 57f3e87..5914a79 100644 --- a/zshfunc/ssha +++ b/zshfunc/ssha @@ -1,8 +1,10 @@ ## vim:ft=zsh:foldmethod=marker +( local SSH_AUTH_SOCK local SSH_AGENT_PID eval `ssh-agent` ssh-add -c ssh -o ControlPath=none -A "$@" kill $SSH_AGENT_PID +) |