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