From 3fc9de137941ea01501dc11cfec22c16963b5876 Mon Sep 17 00:00:00 2001 From: Firerat Date: Mon, 8 Aug 2011 23:00:00 +0100 Subject: bashrc: set alias ls="busybox ls --color=auto" without "auto", scripting fails e.g. for i in `ls /`;do if [ -e /$i ]; then echo pass else echo fail fi done Change-Id: Id2563143ed2c359933c5b861cc2299f387e34d9c --- etc/bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/bashrc b/etc/bashrc index 807d3d5..0ca2cc1 100644 --- a/etc/bashrc +++ b/etc/bashrc @@ -42,7 +42,7 @@ for i in cat chmod chown df insmod ln lsmod mkdir mount mv rm rmdir rmmod umount eval alias ${i}=\"busybox ${i}\" done unset i -alias ls='busybox ls --color' +alias ls='busybox ls --color=auto' alias sysro='mount -o remount,ro /system' alias sysrw='mount -o remount,rw /system' -- cgit v1.1