omni: add mkshrc with some aliases
this will simple overrule the one from external/mkshrc
not the nicest solution but this should not be rocket science
Change-Id: I449e313d55aefda8b23cfb87ccff580e00eeaa19
diff --git a/prebuilt/etc/mkshrc b/prebuilt/etc/mkshrc
new file mode 100644
index 0000000..0e57d57
--- /dev/null
+++ b/prebuilt/etc/mkshrc
@@ -0,0 +1,27 @@
+# Copyright (c) 2010, 2012, 2013, 2014
+# Thorsten Glaser <tg@mirbsd.org>
+# This file is provided under the same terms as mksh.
+#-
+# Minimal /system/etc/mkshrc for Android
+#
+# Support: https://launchpad.net/mksh
+
+: ${HOSTNAME:=$(getprop ro.product.device)}
+: ${HOSTNAME:=android}
+: ${TMPDIR:=/data/local/tmp}
+export HOSTNAME TMPDIR
+
+if (( USER_ID )); then PS1='$'; else PS1='#'; fi
+PS4='[$EPOCHREALTIME] '; PS1='${|
+ local e=$?
+
+ (( e )) && REPLY+="$e|"
+
+ return $e
+}$HOSTNAME:${PWD:-?} '"$PS1 "
+
+alias ls='ls --color=auto'
+alias grep='grep --color=always'
+alias rgrep='grep -R'
+alias ll='ls -al'
+alias lz='ls -alZ'