66 lines
1.3 KiB
Plaintext
66 lines
1.3 KiB
Plaintext
|
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.
|
||
|
PRIVATE_PATH=/usr/local/alpha/mt/bin:/users4/hjp/bin/scripts:/users4/hjp/bin
|
||
|
ETC_PATH=/usr/local/etc:/usr/etc:/etc:/usr/local/sbin:/usr/sbin:/sbin
|
||
|
BIN_PATH=/usr/softbench/bin:/usr/vue/bin:/usr/bin/X11:/bin:/usr/bin:/usr/local/bin:/usr/local/bin/X11
|
||
|
|
||
|
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
|
||
|
export LANG=american.iso88591
|
||
|
export LC_COLLATE=american.iso88591@nofold
|
||
|
export TZ=MET-1MESZ
|