summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-10-03 22:23:51 +0000
committerMike Frysinger <vapier@gentoo.org>2005-10-03 22:23:51 +0000
commit1e630ad0dee621199073a76224f50b2c6d0d7556 (patch)
treeb57cd3353f76fe87019108eabb9605a8b20b0be2 /app-shells/bash/files/bashrc
parentfix invalid atoms (diff)
downloadgentoo-2-1e630ad0dee621199073a76224f50b2c6d0d7556.tar.gz
gentoo-2-1e630ad0dee621199073a76224f50b2c6d0d7556.tar.bz2
gentoo-2-1e630ad0dee621199073a76224f50b2c6d0d7556.zip
Add an alias for colored output to global bashrc.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'app-shells/bash/files/bashrc')
-rw-r--r--app-shells/bash/files/bashrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/app-shells/bash/files/bashrc b/app-shells/bash/files/bashrc
index fa3103e312a1..7fc505ab5ca3 100644
--- a/app-shells/bash/files/bashrc
+++ b/app-shells/bash/files/bashrc
@@ -41,6 +41,8 @@ if ${use_color} ; then
else
PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '
fi
+
+ alias ls='ls --color=auto'
else
if [[ ${EUID} == 0 ]] ; then
# show root@ when we don't have colors