2003-08-10 19:09:17 +02:00
|
|
|
#
|
2003-09-10 22:58:13 +02:00
|
|
|
# $Id: .zprofile,v 1.10 2003-09-10 20:58:13 hjp Exp $
|
2003-08-10 19:09:17 +02:00
|
|
|
#
|
|
|
|
# this is sourced for login shells after .zshenv but before .zshrc
|
|
|
|
#
|
1996-06-04 20:09:41 +02:00
|
|
|
umask 022
|
1996-02-06 10:59:50 +01:00
|
|
|
echo TERM=$TERM
|
|
|
|
eval `echo TERM=$TERM`
|
|
|
|
if [ -f "$EXEC" ]
|
|
|
|
then
|
|
|
|
source $EXEC
|
|
|
|
fi
|
1997-07-27 10:45:10 +02:00
|
|
|
if [ -f /usr/local/bin/findsock ]
|
|
|
|
then
|
|
|
|
sock=`findsock $$`
|
|
|
|
fi
|
1997-07-19 16:25:48 +02:00
|
|
|
if [ -z "$sock" ]
|
|
|
|
then
|
|
|
|
vhost=`hostname`
|
|
|
|
else
|
|
|
|
vhost="$sock"
|
|
|
|
fi
|
|
|
|
vhost=`echo "$vhost" | cut -d . -f 1`
|
1999-02-18 14:03:59 +01:00
|
|
|
RECHNER=$vhost
|
2003-03-07 09:54:03 +01:00
|
|
|
|
1999-02-18 14:03:59 +01:00
|
|
|
if [ -f /etc/oraprofile ]
|
|
|
|
then
|
|
|
|
. /etc/oraprofile
|
|
|
|
fi
|
1997-07-19 16:25:48 +02:00
|
|
|
|
2003-08-10 19:09:17 +02:00
|
|
|
unset MAILCHECK
|
2003-09-10 22:58:13 +02:00
|
|
|
export EDITOR=vi
|