From 3c25ddb1bc8af59bfb6a83b89054b99ce803deea Mon Sep 17 00:00:00 2001 From: hjp Date: Sun, 10 Aug 2003 17:09:17 +0000 Subject: [PATCH] Removed (unused) ssh-agent startup. unset MAILCHECK set HOME_WWW --- .zlogin | 5 +++++ .zprofile | 14 ++++++-------- .zshenv | 7 +++++++ 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/.zlogin b/.zlogin index c168e58..e3fe29b 100644 --- a/.zlogin +++ b/.zlogin @@ -1,3 +1,8 @@ +# +# $Id: .zlogin,v 1.9 2003-08-10 17:09:17 hjp Exp $ +# +# this is sourced for login shells after .zshrc +# mesg y if [ "`uname`" = "HP-UX" ] then diff --git a/.zprofile b/.zprofile index 021c020..3e0a4f4 100644 --- a/.zprofile +++ b/.zprofile @@ -1,3 +1,8 @@ +# +# $Id: .zprofile,v 1.9 2003-08-10 17:09:17 hjp Exp $ +# +# this is sourced for login shells after .zshenv but before .zshrc +# umask 022 echo TERM=$TERM eval `echo TERM=$TERM` @@ -18,17 +23,10 @@ fi vhost=`echo "$vhost" | cut -d . -f 1` RECHNER=$vhost -# I don't understand this any more. -# looks like a nop to me. -if [ -n "" -a -z "$SSH_AUTH_SOCK" -a -f "$HOME/.ssh/identity" ] && tty -s -then - eval `ssh-agent` - ssh-add -fi - if [ -f /etc/oraprofile ] then . /etc/oraprofile fi +unset MAILCHECK diff --git a/.zshenv b/.zshenv index 520544f..820f6e7 100644 --- a/.zshenv +++ b/.zshenv @@ -252,3 +252,10 @@ then fi export MAKEFLAGS="-I $HOME/include" +if [ -d /usr/local/www ] +then + export HOME_WWW=/usr/local/www +elif [ -d /home/www ] +then + export HOME_WWW=/home/www +fi