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