blob: 03e0b73ba6e981a60df02a35165a9c708b23d3ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- mksh.orig/dot.mkshrc 2011-04-14 19:46:02.037662289 +0200
+++ mksh/dot.mkshrc 2011-04-14 10:11:18.977672397 +0200
@@ -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 {
|