Reorganized path.
Fixed problem with nonqualified hosts. Added CVS_RSH env. var.
This commit is contained in:
parent
7133c34959
commit
db3268bd7d
31
.zshenv
31
.zshenv
|
@ -15,13 +15,6 @@ setopt PUSHD_TO_HOME
|
||||||
setopt RMSTARSILENT
|
setopt RMSTARSILENT
|
||||||
setopt NO_PROMPT_CR
|
setopt NO_PROMPT_CR
|
||||||
|
|
||||||
# fix problem with nfs
|
|
||||||
# Does this still work? I have deleted it at home.
|
|
||||||
# in any case I probably don't need it.
|
|
||||||
pushd ~
|
|
||||||
HOME=`pwd`
|
|
||||||
popd
|
|
||||||
|
|
||||||
setopt PUSHD_IGNORE_DUPS
|
setopt PUSHD_IGNORE_DUPS
|
||||||
|
|
||||||
fpath=(~/bin/func)
|
fpath=(~/bin/func)
|
||||||
|
@ -39,14 +32,15 @@ export LPDEST=wsrplj51
|
||||||
|
|
||||||
# set PATH to direcories *I* want.
|
# set PATH to direcories *I* want.
|
||||||
PRIVATE_PATH=/usr/local/alpha/mt/bin:$HOME/bin/scripts:$HOME/bin
|
PRIVATE_PATH=/usr/local/alpha/mt/bin:$HOME/bin/scripts:$HOME/bin
|
||||||
ETC_PATH=/usr/local/etc:/usr/etc:/etc:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/samba/bin:/opt/omni/sbin:/opt/omni/lbin
|
LOCAL_PATH=/usr/local/etc:/usr/local/sbin:/usr/local/samba/bin:/usr/local/bin:/usr/local/bin/X11
|
||||||
BIN_PATH=/usr/local/bin:/usr/softbench/bin:/usr/vue/bin:/usr/bin/X11:/bin:/usr/bin:/usr/local/bin/X11
|
ETC_PATH=/usr/etc:/etc:/usr/sbin:/sbin:/opt/omni/sbin:/opt/omni/lbin
|
||||||
|
BIN_PATH=/usr/softbench/bin:/usr/vue/bin:/usr/bin/X11:/bin:/usr/bin
|
||||||
if [ -r /etc/PATH ]
|
if [ -r /etc/PATH ]
|
||||||
then
|
then
|
||||||
PATH=`cat /etc/PATH`:$PATH
|
PATH=`cat /etc/PATH`:$PATH
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ALL_PATH=$PRIVATE_PATH:$ETC_PATH:$BIN_PATH:$PATH
|
ALL_PATH=$PRIVATE_PATH:$LOCAL_PATH:$ETC_PATH:$BIN_PATH:$PATH
|
||||||
NEW_PATH=""
|
NEW_PATH=""
|
||||||
|
|
||||||
for i in ${(s/:/)ALL_PATH}
|
for i in ${(s/:/)ALL_PATH}
|
||||||
|
@ -98,21 +92,28 @@ fi
|
||||||
export XAUTHORITY=$HOME/.Xauthority
|
export XAUTHORITY=$HOME/.Xauthority
|
||||||
|
|
||||||
case "$HOST" in
|
case "$HOST" in
|
||||||
|
*.*)
|
||||||
|
export FQDN=$HOST
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
export FQDN=`fqdn`
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
case "$FQDN" in
|
||||||
wsrk.wsr.ac.at)
|
wsrk.wsr.ac.at)
|
||||||
export CVSROOT=/u/cvs
|
export CVSROOT=/u/cvs
|
||||||
;;
|
;;
|
||||||
SiKitu.wsr.ac.at)
|
|
||||||
export CVSROOT=wsrx.wsr.ac.at:/nfs/wsrk/u/cvs
|
|
||||||
;;
|
|
||||||
*.wsr.ac.at)
|
*.wsr.ac.at)
|
||||||
export CVSROOT=/nfs/wsrk/u/cvs
|
export CVSROOT=wsrk.wsr.ac.at:/u/cvs
|
||||||
|
export CVS_RSH=/usr/local/bin/ssh
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
if test "`uname`" = Linux
|
if test "`uname`" = Linux
|
||||||
then
|
then
|
||||||
limit coredumpsize 64M
|
limit coredumpsize 64M
|
||||||
fi
|
fi
|
||||||
case "$HOST" in
|
case "$FQDN" in
|
||||||
SiKitu.wsr.ac.at)
|
SiKitu.wsr.ac.at)
|
||||||
export MAIL=$HOME/Maildir
|
export MAIL=$HOME/Maildir
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
include GNUmakerules
|
include GNUmakerules
|
||||||
|
include GNUmakevars
|
||||||
|
|
||||||
ALLSRC = \
|
ALLSRC = \
|
||||||
.zlogin \
|
.zlogin \
|
||||||
|
|
Loading…
Reference in New Issue