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
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')
-rw-r--r--app-shells/bash/ChangeLog5
-rw-r--r--app-shells/bash/files/bashrc2
2 files changed, 6 insertions, 1 deletions
diff --git a/app-shells/bash/ChangeLog b/app-shells/bash/ChangeLog
index c172a966e5bd..9c7a75a0104f 100644
--- a/app-shells/bash/ChangeLog
+++ b/app-shells/bash/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-shells/bash
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/ChangeLog,v 1.74 2005/09/03 19:49:57 sbriesen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/ChangeLog,v 1.75 2005/10/03 22:23:51 vapier Exp $
+
+ 03 Oct 2005; Mike Frysinger <vapier@gentoo.org> files/bashrc:
+ Add an alias for colored output to global bashrc.
03 Sep 2005; Stefan Briesenick <sbriesen@gentoo.org> bash-3.0-r12.ebuild:
fixing parallel build problems using 'emake -j1' (see bug 102426)
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