1995-06-02 12:48:24 +02:00
|
|
|
unsetopt BGNICE
|
|
|
|
setopt CHASELINKS
|
|
|
|
setopt AUTO_CD
|
|
|
|
setopt AUTO_PUSHD
|
|
|
|
setopt EXTENDED_GLOB
|
|
|
|
setopt LIST_TYPES
|
|
|
|
unsetopt MARKDIRS
|
|
|
|
unsetopt MENU_COMPLETE
|
|
|
|
unsetopt NO_CLOBBER
|
|
|
|
setopt NOTIFY
|
|
|
|
setopt NUMERIC_GLOB_SORT
|
|
|
|
setopt PRINT_EXIT_VALUE
|
|
|
|
setopt PUSHD_IGNORE_DUPS
|
|
|
|
setopt PUSHD_SILENT
|
|
|
|
setopt PUSHD_TO_HOME
|
|
|
|
setopt RMSTARSILENT
|
|
|
|
setopt NO_PROMPT_CR
|
|
|
|
|
|
|
|
# fix problem with nfs
|
|
|
|
pushd ~
|
|
|
|
HOME=`pwd`
|
|
|
|
popd
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
# set PATH to direcories *I* want.
|
1996-02-06 10:59:50 +01:00
|
|
|
PRIVATE_PATH=/usr/local/alpha/mt/bin:$HOME/bin/scripts:$HOME/bin
|
1996-05-09 19:23:49 +02:00
|
|
|
ETC_PATH=/usr/local/etc:/usr/etc:/etc:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/samba/bin
|
1996-07-29 15:13:44 +02:00
|
|
|
BIN_PATH=/usr/local/bin:/usr/softbench/bin:/usr/vue/bin:/usr/bin/X11:/bin:/usr/bin:/usr/local/bin/X11
|
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
|
|
|
|
|
|
|
ALL_PATH=$PRIVATE_PATH:$ETC_PATH:$BIN_PATH:$PATH
|
|
|
|
NEW_PATH=""
|
|
|
|
|
|
|
|
for i in ${(s/:/)ALL_PATH}
|
|
|
|
do
|
|
|
|
if test -d "$i"
|
|
|
|
then
|
|
|
|
if echo "$NEW_PATH" | egrep '(^|:)'"$i"'(:|$)' > /dev/null
|
|
|
|
then
|
|
|
|
else
|
|
|
|
if test -z "$NEW_PATH"
|
|
|
|
then
|
|
|
|
NEW_PATH=$i
|
|
|
|
else
|
|
|
|
NEW_PATH=$NEW_PATH:$i
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
|
|
|
|
export PATH=$NEW_PATH
|
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}
|
|
|
|
;;
|
|
|
|
esac
|
1995-06-02 15:46:15 +02:00
|
|
|
if test "`uname`" = HP-UX
|
|
|
|
then
|
|
|
|
# need to set that explicitely on HP-UX. MESZ isn't standard, so
|
|
|
|
# I do it ONLY on HP-UX
|
1996-02-06 10:59:50 +01:00
|
|
|
export TZ=MEZ-1MESZ
|
1995-06-02 15:46:15 +02:00
|
|
|
fi
|
1996-02-22 14:09:47 +01:00
|
|
|
if [ -x /usr/bin/less ]
|
|
|
|
then
|
|
|
|
export PAGER=/usr/bin/less
|
|
|
|
elif [ -x /usr/local/bin/less ]
|
|
|
|
then
|
|
|
|
export PAGER=/usr/local/bin/less
|
1996-02-22 14:39:40 +01:00
|
|
|
fi
|
1995-06-02 15:46:15 +02:00
|
|
|
export XAUTHORITY=$HOME/.Xauthority
|
1996-08-20 13:56:10 +02:00
|
|
|
export CVSROOT=/nfs/wsrdb/u/cvs
|