2003-08-10 19:09:17 +02:00
|
|
|
#
|
2005-02-22 19:22:34 +01:00
|
|
|
# $Id: .zprofile,v 1.14 2005-02-22 18:22:34 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
|
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
|
2004-04-23 22:33:46 +02:00
|
|
|
|
2004-09-08 15:22:55 +02:00
|
|
|
if [ -f /etc/sysconfig/i18n ]
|
|
|
|
then
|
|
|
|
. /etc/sysconfig/i18n
|
|
|
|
export LANG
|
|
|
|
fi
|
|
|
|
|
2004-04-23 22:33:46 +02:00
|
|
|
. ~/.zjava
|
2005-02-22 12:23:55 +01:00
|
|
|
|
|
|
|
# Set to non-working default values on SUSE Linux.
|
|
|
|
# I don't use that anyway, so I just unset these values:
|
|
|
|
unset LESSOPEN LESSCLOSE
|