37 lines
651 B
Bash
37 lines
651 B
Bash
#
|
|
# $Id: .zprofile,v 1.18 2007-10-01 15:06:50 hjp Exp $
|
|
#
|
|
# this is sourced for login shells after .zshenv but before .zshrc
|
|
#
|
|
umask 022
|
|
|
|
unset MAILCHECK
|
|
|
|
if [ -f /etc/sysconfig/i18n ]
|
|
then
|
|
. /etc/sysconfig/i18n
|
|
export LANG
|
|
fi
|
|
|
|
. ~/.zjava
|
|
|
|
# Set to non-working default values on SUSE Linux.
|
|
# I don't use that anyway, so I just unset these values:
|
|
unset LESSOPEN LESSCLOSE
|
|
|
|
# for TGIF:
|
|
if [ -f /etc/X11/rgb.txt ]
|
|
then
|
|
export RGBDEF=/etc/X11/rgb.txt
|
|
fi
|
|
|
|
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
|