dot/.zprofile

39 lines
635 B
Plaintext
Raw Normal View History

#
2005-02-22 19:22:34 +01:00
# $Id: .zprofile,v 1.14 2005-02-22 18:22:34 hjp Exp $
#
# this is sourced for login shells after .zshenv but before .zshrc
#
umask 022
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