$FreeWRT$ --- mksh.orig/dot.mkshrc Wed Jun 20 13:38:18 2007 +++ mksh/dot.mkshrc Mon Jul 9 12:32:20 2007 @@ -1,4 +1,4 @@ -: ${EDITOR:=/bin/ed} ${TERM:=vt100} ${HOSTNAME:=$(ulimit -c 0;hostname -s 2>&-)} +: ${EDITOR:=/bin/ed} ${TERM:=vt100} ${HOSTNAME:=$(&-) : ${HOSTNAME:=nil}; PS1='#'; [[ "$(ulimit -c 0; id -u 2>&-)" -eq 0 ]] || PS1='$' PS1='$(((e = $?)) && print $e\|)${USER:=$(ulimit -c 0; id -un 2>&- || \ @@ -19,7 +19,7 @@ export EDITOR HOSTNAME MKSH=$(whence -p alias l='/bin/ls -F' alias la='l -a' alias ll='l -l' -alias lo='la -lo' +alias lo='la -l' alias which='whence -p' whence -p rot13 >&- || alias rot13='tr [A-Za-z] [N-ZA-Mn-za-m]' whence -p hd >&- || function hd {