patch-dot_mkshrc 519 B

1234567891011
  1. --- mksh/dot.mkshrc~ Thu Feb 25 20:48:10 2010
  2. +++ mksh/dot.mkshrc Sun Feb 28 18:05:10 2010
  3. @@ -21,7 +21,7 @@
  4. #-
  5. # ${ENV:-~/.mkshrc}: mksh initialisation file for interactive shells
  6. -: ${EDITOR:=/bin/ed} ${TERM:=vt100} ${HOSTNAME:=$(ulimit -c 0;hostname -s 2>&-)}
  7. +: ${EDITOR:=/bin/vi} ${TERM:=vt100} ${HOSTNAME:=$(ulimit -c 0;hostname -s 2>&-)}
  8. [[ $HOSTNAME = @(localhost|*([ ])) ]] && HOSTNAME=$(ulimit -c 0;hostname 2>&-)
  9. : ${HOSTNAME:=nil}; if (( USER_ID )); then PS1='$'; else PS1='#'; fi
  10. function precmd {