diff options
author | Firerat <firer4t@googlemail.com> | 2011-08-08 23:00:00 +0100 |
---|---|---|
committer | Firerat <firer4t@googlemail.com> | 2011-08-20 13:27:16 +0100 |
commit | 3fc9de137941ea01501dc11cfec22c16963b5876 (patch) | |
tree | e593a0a6b98c4627e8c7fc498874a7253233d0e5 /etc | |
parent | 744878f09637fad57e28c5eb5e277cdb50b26485 (diff) | |
download | external_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/bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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' |