export VISUAL=vi
export EDITOR=$VISUAL
set -o vi
export TMOUT=0
export PATH=$PATH:.
if [[ -z $BASH ]]; then
[[ -z $HOST ]] && HOST=`hostname -s`
SECONDS=`date +3600*%H+60*%M+%S`
HH="(SECONDS/3600)%24"
MM="(SECONDS/60)%60"
SS="(SECONDS%60)"
typeset -Z2 H M S
TIMESTAMP='${_x[ (M=MM)==(H=HH) ]}$H:$M'
TIMESTAMP='${_x[ (M=MM)==(H=HH)==(S=SS) ]}$H:$M:$S'
typeset PS1=$(print "$TIMESTAMP $LOGNAME@$HOST:"'${PWD}\n$ ')
else
typeset PS1="\t \u@\h:\w\n\$ "
fi
