1999-02-10 18:26:22 +01:00
|
|
|
setopt APPEND_HISTORY
|
1995-06-02 12:48:24 +02:00
|
|
|
unsetopt BGNICE
|
|
|
|
setopt CHASELINKS
|
|
|
|
setopt AUTO_CD
|
|
|
|
setopt AUTO_PUSHD
|
|
|
|
setopt EXTENDED_GLOB
|
1999-08-18 16:39:51 +02:00
|
|
|
setopt EXTENDED_HISTORY
|
1995-06-02 12:48:24 +02:00
|
|
|
setopt LIST_TYPES
|
|
|
|
unsetopt MARKDIRS
|
|
|
|
unsetopt MENU_COMPLETE
|
|
|
|
unsetopt NO_CLOBBER
|
|
|
|
setopt NOTIFY
|
|
|
|
setopt NUMERIC_GLOB_SORT
|
|
|
|
setopt PRINT_EXIT_VALUE
|
|
|
|
setopt PUSHD_SILENT
|
|
|
|
setopt PUSHD_TO_HOME
|
|
|
|
setopt RMSTARSILENT
|
|
|
|
setopt NO_PROMPT_CR
|
|
|
|
|
1997-07-19 15:40:36 +02:00
|
|
|
setopt PUSHD_IGNORE_DUPS
|
|
|
|
|
1995-06-02 12:48:24 +02:00
|
|
|
fpath=(~/bin/func)
|
|
|
|
SAVEHIST=100
|
|
|
|
HISTSIZE=$SAVEHIST
|
|
|
|
HISTFILE=~/.zhistory
|
|
|
|
REPORTTIME=1
|
|
|
|
TMOUT=0
|
|
|
|
export PGPPATH=~/.pgp
|
|
|
|
export EDITOR=`echo =vi`
|
|
|
|
export LESSCHARSET=latin1
|
|
|
|
export PARINIT=q1
|
|
|
|
export PARBODY=_A_a
|
|
|
|
export LPDEST=wsrplj51
|
|
|
|
|
1999-02-18 13:11:47 +01:00
|
|
|
if [ -f /etc/oraenv ]
|
|
|
|
then
|
|
|
|
. /etc/oraenv
|
|
|
|
fi
|
1998-11-02 20:13:17 +01:00
|
|
|
|
1995-06-02 12:48:24 +02:00
|
|
|
# set PATH to direcories *I* want.
|
1999-04-17 21:46:02 +02:00
|
|
|
PRIVATE_PATH=/usr/local/alpha/mt/bin:$HOME/bin/scripts:$HOME/bin:$HOME/public_html/bin
|
1998-07-08 12:52:26 +02:00
|
|
|
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
|
1999-07-21 17:52:33 +02:00
|
|
|
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
|
1999-06-05 15:29:17 +02:00
|
|
|
BIN_PATH=/usr/softbench/bin:/usr/vue/bin:/usr/bin/X11:/bin:/usr/bin:/usr/ccs/bin:/usr/openwin/bin:/opt/kde/bin:/opt/perl5/bin
|
1999-07-21 17:52:33 +02:00
|
|
|
JAVA_PATH=/usr/local/jdk1.2/bin:/usr/local/jdk1.1.6/bin:/usr/local/jdk1.1.1/bin:/usr/local/java/bin
|
1998-11-02 20:13:17 +01:00
|
|
|
ORACLE_PATH=$ORACLE_HOME/bin
|
1998-12-03 22:00:39 +01:00
|
|
|
|
1997-02-27 12:55:26 +01:00
|
|
|
if [ -r /etc/PATH ]
|
|
|
|
then
|
|
|
|
PATH=`cat /etc/PATH`:$PATH
|
|
|
|
fi
|
1995-06-02 12:48:24 +02:00
|
|
|
|
1998-11-02 20:13:17 +01:00
|
|
|
ALL_PATH=$PRIVATE_PATH:$LOCAL_PATH:$ETC_PATH:$JAVA_PATH:$BIN_PATH:$ORACLE_PATH:$PATH
|
1995-06-02 12:48:24 +02:00
|
|
|
NEW_PATH=""
|
|
|
|
|
|
|
|
for i in ${(s/:/)ALL_PATH}
|
|
|
|
do
|
|
|
|
if test -d "$i"
|
|
|
|
then
|
1997-07-19 16:25:48 +02:00
|
|
|
case "$NEW_PATH" in
|
|
|
|
$i:*|*:$i|*:$i:*) ;;
|
|
|
|
*)
|
1995-06-02 12:48:24 +02:00
|
|
|
if test -z "$NEW_PATH"
|
|
|
|
then
|
|
|
|
NEW_PATH=$i
|
|
|
|
else
|
|
|
|
NEW_PATH=$NEW_PATH:$i
|
|
|
|
fi
|
1997-07-19 16:25:48 +02:00
|
|
|
esac
|
1995-06-02 12:48:24 +02:00
|
|
|
fi
|
|
|
|
done
|
|
|
|
|
|
|
|
export PATH=$NEW_PATH
|
1997-07-19 16:25:48 +02:00
|
|
|
|
|
|
|
if [ -r /etc/MANPATH ]
|
|
|
|
then
|
|
|
|
MANPATH=`cat /etc/MANPATH`:$MANPATH
|
1997-07-25 00:02:10 +02:00
|
|
|
else
|
|
|
|
MANPATH=/usr/local/qmail/man:/usr/man:/usr/local/man:/usr/X11R6/man
|
1997-07-19 16:25:48 +02:00
|
|
|
fi
|
1997-07-25 00:02:10 +02:00
|
|
|
export MANPATH
|
1997-07-19 16:25:48 +02:00
|
|
|
|
|
|
|
|
1996-10-26 20:25:17 +02:00
|
|
|
case "`uname -sr`" in
|
1996-10-26 20:21:04 +02:00
|
|
|
HP-UX*09.*)
|
|
|
|
export LANG=${LANG:-american.iso88591}
|
|
|
|
export LC_COLLATE=${LC_COLLATE:-american.iso88591@nofold}
|
|
|
|
;;
|
|
|
|
HP-UX*10.*)
|
|
|
|
export LANG=${LANG:-C.iso88591}
|
1997-07-25 00:02:10 +02:00
|
|
|
export TZ=MEZ-1MESZ
|
1996-10-26 20:21:04 +02:00
|
|
|
;;
|
|
|
|
esac
|
1997-07-25 00:02:10 +02:00
|
|
|
|
1996-02-22 14:09:47 +01:00
|
|
|
if [ -x /usr/bin/less ]
|
|
|
|
then
|
1997-07-19 15:40:36 +02:00
|
|
|
export PAGER="/usr/bin/less -i"
|
1996-02-22 14:09:47 +01:00
|
|
|
elif [ -x /usr/local/bin/less ]
|
|
|
|
then
|
1997-07-19 15:40:36 +02:00
|
|
|
export PAGER="/usr/local/bin/less -i"
|
1996-02-22 14:39:40 +01:00
|
|
|
fi
|
1995-06-02 15:46:15 +02:00
|
|
|
export XAUTHORITY=$HOME/.Xauthority
|
1997-07-19 15:40:36 +02:00
|
|
|
|
1998-02-23 10:42:36 +01:00
|
|
|
case "$HOST" in
|
|
|
|
*.*)
|
|
|
|
export FQDN=$HOST
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
export FQDN=`fqdn`
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
case "$FQDN" in
|
1998-03-12 14:18:37 +01:00
|
|
|
calypso.wsr.ac.at)
|
|
|
|
export CVSROOT=/usr/local/src/master
|
1998-07-08 12:52:26 +02:00
|
|
|
export CVS_RSH=/usr/local/bin/ssh
|
1997-07-19 15:40:36 +02:00
|
|
|
;;
|
1999-04-20 12:43:32 +02:00
|
|
|
*.luga.at|*.luga.or.at)
|
|
|
|
export CVSROOT=cvs.luga.at:/usr/local/src/master
|
|
|
|
export CVS_RSH=/usr/local/bin/ssh
|
|
|
|
;;
|
1998-10-05 10:24:37 +02:00
|
|
|
*)
|
1998-03-12 14:18:37 +01:00
|
|
|
export CVSROOT=cvs.wsr.ac.at:/usr/local/src/master
|
1998-02-23 10:42:36 +01:00
|
|
|
export CVS_RSH=/usr/local/bin/ssh
|
1997-07-19 15:40:36 +02:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
if test "`uname`" = Linux
|
|
|
|
then
|
|
|
|
limit coredumpsize 64M
|
|
|
|
fi
|
1998-04-28 01:45:24 +02:00
|
|
|
|
1998-04-28 22:00:15 +02:00
|
|
|
case "$FQDN" in
|
1997-07-19 15:40:36 +02:00
|
|
|
SiKitu.wsr.ac.at)
|
|
|
|
export MAIL=$HOME/Maildir
|
|
|
|
;;
|
|
|
|
*.wsr.ac.at)
|
|
|
|
;;
|
|
|
|
esac
|
1998-03-25 20:59:51 +01:00
|
|
|
|
1998-04-28 01:45:24 +02:00
|
|
|
case "$FQDN" in
|
|
|
|
SiKitu.wsr.ac.at)
|
|
|
|
export NNTPSERVER=SiKitu.wsr.ac.at
|
|
|
|
;;
|
|
|
|
*.wsr.ac.at)
|
|
|
|
export NNTPSERVER=news.wsr.ac.at
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
1998-12-03 22:00:39 +01:00
|
|
|
case "$FQDN" in
|
|
|
|
SiKitu.wsr.ac.at)
|
|
|
|
export http_proxy=http://SiKitu.wsr.ac.at:3128/
|
|
|
|
;;
|
|
|
|
*.wsr.ac.at)
|
|
|
|
export http_proxy=http://squid.wsr.ac.at:3128/
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
1998-03-25 20:59:51 +01:00
|
|
|
|
|
|
|
case "$FQDN" in
|
1998-11-02 20:13:17 +01:00
|
|
|
enkur.wsr.ac.at)
|
1999-08-18 16:39:51 +02:00
|
|
|
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/local/mnemonic/lib
|
1998-11-02 20:13:17 +01:00
|
|
|
;;
|
1999-03-12 14:52:43 +01:00
|
|
|
melange.wsr.ac.at|spirit.luga.or.at|chthon.wsr.ac.at|posbi.wsr.ac.at)
|
1998-03-25 20:59:51 +01:00
|
|
|
export LD_LIBRARY_PATH=/usr/local/lib
|
|
|
|
;;
|
|
|
|
*.wsr.ac.at)
|
|
|
|
;;
|
|
|
|
esac
|
1998-08-06 19:34:58 +02:00
|
|
|
|
1999-08-18 16:39:51 +02:00
|
|
|
export CLASSPATH=.:/usr/local/java/classes:/usr/local/oracle/classes111.zip
|