indentation fixup
[zsh.git] / .zsh / net:ganneff.de / host:cole / Functions.zsh
1 # -*- mode: sh;-*-
2
3 if which ssh-agent >/dev/null; then
4 agent() {
5 eval $(ssh-agent) >/dev/null
6 ssh-add ~/.ssh/id_cole
7 }
8
9
10 _kill_agent() {
11 ssh-agent -k
12 }
13 is434 && add-zsh-hook zshexit _kill_agent
14 fi