summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTanguy Pruvot <tanguy.pruvot@gmail.com>2014-07-06 19:05:19 +0200
committerTanguy Pruvot <tanguy.pruvot@gmail.com>2014-07-06 19:06:15 +0200
commit84fc5b2edc62791e42d9f2945b617ce7f0f2a453 (patch)
tree53825a772a34eeb54dcee921eff56b0efe9daa16
parentd08276e0164b3aa39a6218eeea067c4ebffb056b (diff)
downloadandroid_external_mksh-shipping/cm-11.0.tar.gz
android_external_mksh-shipping/cm-11.0.tar.bz2
android_external_mksh-shipping/cm-11.0.zip
With this simple command, nano and vim will use the full size of the terminal in adb shell Without, the default terminfo is used (80x24) Change-Id: I4ee83dd3af623d07f51c7efe6b7d9def7853a045
-rw-r--r--mkshrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkshrc b/mkshrc
index b150eec..9360f74 100644
--- a/mkshrc
+++ b/mkshrc
@@ -21,6 +21,8 @@ alias la='l -a'
alias ll='l -l'
alias lo='l -a -l'
+resize
+
function hd {
cat "$@" | command hd /proc/self/fd/0
}