2003-08-10 19:09:17 +02:00
|
|
|
#
|
2007-10-01 17:06:50 +02:00
|
|
|
# $Id: .zprofile,v 1.18 2007-10-01 15:06:50 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-19 16:25:48 +02:00
|
|
|
|
2003-08-10 19:09:17 +02:00
|
|
|
unset MAILCHECK
|
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
|
2006-12-18 17:22:26 +01:00
|
|
|
|
|
|
|
# for TGIF:
|
|
|
|
if [ -f /etc/X11/rgb.txt ]
|
|
|
|
then
|
|
|
|
export RGBDEF=/etc/X11/rgb.txt
|
|
|
|
fi
|
2007-10-01 17:06:50 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
http_proxy=$i
|
|
|
|
break
|
|
|
|
fi
|
|
|
|
done
|