dot/.zprofile

45 lines
715 B
Plaintext
Raw Normal View History

#
2005-02-22 12:23:55 +01:00
# $Id: .zprofile,v 1.13 2005-02-22 11:23:55 hjp Exp $
#
# this is sourced for login shells after .zshenv but before .zshrc
#
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
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
1999-02-18 14:03:59 +01:00
if [ -f /etc/oraprofile ]
then
. /etc/oraprofile
fi
unset MAILCHECK
export EDITOR=vi
2004-04-23 22:33:46 +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