patch-dot_mkshrc 537 B

1234567891011
  1. --- mksh.orig/dot.mkshrc 2010-02-16 20:13:59.000000000 +0100
  2. +++ mksh/dot.mkshrc 2010-02-16 20:13:50.000000000 +0100
  3. @@ -21,7 +21,7 @@
  4. #-
  5. # ~/.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 {