Merged with Linux version

This commit is contained in:
hjp 1995-06-02 13:46:15 +00:00
parent 6aeaf5a6f8
commit 7a26fe20c0
3 changed files with 20 additions and 6 deletions

View File

@ -1,4 +1,3 @@
echo .zlogout: $PROMPT
if [[ -a ~/Dont_forget ]]
then
less ~/Dont_forget

View File

@ -23,10 +23,17 @@ fi
if [[ .$TERM. = .xterm. ]]
then
prompt="%{]0;%m(%l)%n %~%}$SHLVL.%h%# "
if test "`uname`" = Linux
then
export REMOTEHOST=`
who am i |
sed -e 's/.*(\(.*\)).*/\1/'`
else
export REMOTEHOST=`
who -muR |
tr -s ' ' ' ' |
cut -f 8 | cut -d : -f 1`
fi
if [[ -z "$DISPLAY" ]]
then
export DISPLAY=${REMOTEHOST}:0.0

View File

@ -62,4 +62,12 @@ done
export PATH=$NEW_PATH
export LANG=american.iso88591
export LC_COLLATE=american.iso88591@nofold
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
export TZ=MET-1MESZ
fi
export PAGER=less
export XAUTHORITY=$HOME/.Xauthority
export CVSROOT=/nfs/wsrdb/usr/local/src/master