summaryrefslogtreecommitdiff
path: root/package/mksh/patches/patch-dot_mkshrc
blob: 2b215b93e500cecf7e559f7bb65438769a143494 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- mksh/dot.mkshrc~	Thu Feb 25 20:48:10 2010
+++ mksh/dot.mkshrc	Sun Feb 28 18:05:10 2010
@@ -21,7 +21,7 @@
 #-
 # ${ENV:-~/.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 {