dot/.zprofile

42 lines
763 B
Plaintext
Raw Normal View History

#
# $Id: .zprofile,v 1.19 2007-10-09 11:49:11 hjp Exp $
#
# this is sourced for login shells after .zshenv but before .zshrc
#
umask 022
unset MAILCHECK
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
2006-12-18 17:22:26 +01:00
# for TGIF:
if [ -f /etc/X11/rgb.txt ]
then
export RGBDEF=/etc/X11/rgb.txt
fi
if [ "`uname`" = HP-UX ]
then
export http_proxy=http://squid.wsr.ac.at:3128/
else
unset http_proxy
for i in http://zeno.hjp.at:3128/ http://squid.wsr.ac.at:3128/
do
if http_proxy=$i wget -q -O /dev/null http://www.hjp.at
then
export http_proxy=$i
break
fi
done
fi