Android: 添加shell命令行 alias配置

 

Android: 添加shell alias配置

 

external/mksh$ gd
diff --git a/src/main.c b/src/main.c
index bd013df..6d344bd 100644
--- a/src/main.c
+++ b/src/main.c
@@ -78,6 +78,10 @@ static const char *initcoms[] = {
        "nohup=nohup ",
        "r=\\builtin fc -e -",
        "login=\\exec login",
+       "ll=\\ls -al",
+       "l=\\ls",
+       "la=\\ls -a",
+       "c=\\clear",
        NULL,
         /* this is what AT&T ksh seems to track, with the addition of emacs */
        Talias, "-tU",

 

你可能感兴趣的:(Android,linux)