Solaris adaptations.
This commit is contained in:
parent
89fe54d525
commit
33947765d4
10
.znewterm
10
.znewterm
|
@ -23,16 +23,16 @@ fi
|
|||
if [[ .$TERM. = .xterm. ]]
|
||||
then
|
||||
prompt="%{]0;%m(%l)%n %~%}$SHLVL.%h%# "
|
||||
if test "`uname`" = Linux
|
||||
if test "`uname`" = HP-UX
|
||||
then
|
||||
export REMOTEHOST=`
|
||||
who am i |
|
||||
sed -e 's/.*(\(.*\)).*/\1/'`
|
||||
else
|
||||
export REMOTEHOST=`
|
||||
/bin/who -muR |
|
||||
tr -s ' ' ' ' |
|
||||
cut -f 8 | cut -d : -f 1`
|
||||
else
|
||||
export REMOTEHOST=`
|
||||
who am i |
|
||||
sed -e 's/.*(\(.*\)).*/\1/'`
|
||||
fi
|
||||
if [[ -z "$DISPLAY" ]]
|
||||
then
|
||||
|
|
14
.zshenv
14
.zshenv
|
@ -32,9 +32,10 @@ export LPDEST=wsrplj51
|
|||
|
||||
# set PATH to direcories *I* want.
|
||||
PRIVATE_PATH=/usr/local/alpha/mt/bin:$HOME/bin/scripts:$HOME/bin
|
||||
LOCAL_PATH=/usr/local/etc:/usr/local/sbin:/usr/local/samba/bin:/usr/local/bin:/usr/local/bin/X11
|
||||
LOCAL_PATH=/usr/local/etc:/usr/local/sbin:/usr/local/samba/bin:/usr/local/bin:/usr/local/bin/X11:/usr/local/bin/X11:/usr/local/java/bin:/usr/local/povray3/bin
|
||||
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
|
||||
BIN_PATH=/usr/softbench/bin:/usr/vue/bin:/usr/bin/X11:/bin:/usr/bin:/usr/ccs/bin
|
||||
|
||||
if [ -r /etc/PATH ]
|
||||
then
|
||||
PATH=`cat /etc/PATH`:$PATH
|
||||
|
@ -120,3 +121,12 @@ case "$FQDN" in
|
|||
*.wsr.ac.at)
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
case "$FQDN" in
|
||||
melange.wsr.ac.at)
|
||||
export LD_LIBRARY_PATH=/usr/local/lib
|
||||
;;
|
||||
*.wsr.ac.at)
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue