Merged with Linux version
This commit is contained in:
parent
6aeaf5a6f8
commit
7a26fe20c0
1
.zlogout
1
.zlogout
|
@ -1,4 +1,3 @@
|
|||
echo .zlogout: $PROMPT
|
||||
if [[ -a ~/Dont_forget ]]
|
||||
then
|
||||
less ~/Dont_forget
|
||||
|
|
|
@ -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
|
||||
|
|
8
.zshenv
8
.zshenv
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue