patch-dot_mkshrc 831 B

123456789101112131415161718192021
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- mksh.orig/dot.mkshrc 2009-05-30 12:07:24.734860691 +0200
  3. +++ mksh/dot.mkshrc 2009-05-30 12:07:18.782465058 +0200
  4. @@ -20,7 +20,7 @@
  5. #-
  6. # ~/.mkshrc: mksh initialisation file for interactive shells
  7. -: ${EDITOR:=/bin/ed} ${TERM:=vt100} ${HOSTNAME:=$(ulimit -c 0;hostname -s 2>&-)}
  8. +: ${EDITOR:=/bin/vi} ${TERM:=vt100} ${HOSTNAME:=$(ulimit -c 0;hostname -s 2>&-)}
  9. [[ $HOSTNAME = @(localhost|*([ ])) ]] && HOSTNAME=$(ulimit -c 0;hostname 2>&-)
  10. : ${HOSTNAME:=nil}; if (( USER_ID )); then PS1='$'; else PS1='#'; fi
  11. function precmd {
  12. @@ -38,7 +38,7 @@ unalias ls
  13. alias l='ls -F'
  14. alias la='l -a'
  15. alias ll='l -l'
  16. -alias lo='l -alo'
  17. +alias lo='l -al'
  18. alias which='whence -p'
  19. whence -p rot13 >&- || alias rot13='tr \
  20. abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ \