aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorFirerat <firer4t@googlemail.com>2011-08-08 23:00:00 +0100
committerFirerat <firer4t@googlemail.com>2011-08-20 13:27:16 +0100
commit3fc9de137941ea01501dc11cfec22c16963b5876 (patch)
treee593a0a6b98c4627e8c7fc498874a7253233d0e5 /etc
parent744878f09637fad57e28c5eb5e277cdb50b26485 (diff)
downloadexternal_bash-3fc9de137941ea01501dc11cfec22c16963b5876.zip
external_bash-3fc9de137941ea01501dc11cfec22c16963b5876.tar.gz
external_bash-3fc9de137941ea01501dc11cfec22c16963b5876.tar.bz2
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
Diffstat (limited to 'etc')
-rw-r--r--etc/bashrc2
1 files changed, 1 insertions, 1 deletions
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'