.zshenv: use teal as proxy.

.zshrc: function dup.
This commit is contained in:
hjp 2001-05-01 18:17:39 +00:00
parent 36772336eb
commit 02bcf6eda2
2 changed files with 9 additions and 2 deletions

View File

@ -40,8 +40,8 @@ fi
PRIVATE_PATH=$HOME/bin/scripts:$HOME/bin:$HOME/public_html/bin
ETC_PATH=/usr/etc:/etc:/usr/sbin:/sbin:/opt/omni/sbin:/opt/omni/lbin:/usr/local/qmail/bin:/usr/local/ssl/bin:/usr/adm/acct/wsr/bin:/opt/tusc/bin
LOCAL_PATH=/usr/local/etc:/usr/local/sbin:/usr/local/samba/bin:/usr/local/bin:/usr/local/bin/X11:/usr/local/povray3/bin:/usr/local/majordomo/bin
JAVA_PATH=/usr/local/jdk1.2.2/bin:/usr/java1.2/bin:/usr/local/jdk1.2/bin:/usr/local/jre118_v1/bin:/usr/local/jdk1.1.6/bin:/usr/local/jdk1.1.1/bin:/usr/local/java/bin
BIN_PATH=/usr/softbench/bin:/usr/bin/X11:/bin:/usr/bin:/usr/ccs/bin:/usr/openwin/bin:/opt/kde/bin:/opt/perl5/bin:/opt/Office51/bin:/usr/games:/usr/contrib/bin
JAVA_PATH=/usr/local/jdk1.2.2/bin:/usr/java1.2/bin:/usr/local/jdk1.2/bin:/usr/local/jre118_v1/bin:/usr/local/jdk1.1.6/bin:/usr/local/jdk1.1.1/bin:/usr/local/java/bin
ORACLE_PATH=$ORACLE_HOME/bin
if [ -r /etc/PATH ]
@ -139,7 +139,7 @@ then
fi
case "$FQDN" in
SiKitu.wsr.ac.at)
teal.h.hjp.at|SiKitu.wsr.ac.at)
export MAIL=$HOME/Maildir
;;
*.wsr.ac.at)
@ -159,6 +159,9 @@ case "$FQDN" in
esac
case "$FQDN" in
*.h.hjp.at)
export http_proxy=http://teal.h.hjp.at:3128/
;;
SiKitu.wsr.ac.at)
export http_proxy=http://SiKitu.wsr.ac.at:3128/
;;

4
.zshrc
View File

@ -46,6 +46,10 @@ harden(){
cp -p "$1" .harden.$$ && mv .harden.$$ "$1"
}
dup(){
mv $1 $1.orig && cp -p $1.orig $1
}
cls() { clear; true }
source ~/.znewterm