diff --git a/.zprofile b/.zprofile index 4da1b52..ad53c05 100644 --- a/.zprofile +++ b/.zprofile @@ -17,8 +17,15 @@ else fi vhost=`echo "$vhost" | cut -d . -f 1` RECHNER=$vhost +if [ -z "$SSH_AUTH_SOCK" -a -f "$HOME/.ssh/identity" ] +then + eval `ssh-agent` + ssh-add +fi + if [ -f /etc/oraprofile ] then . /etc/oraprofile fi +