summaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2001-03-05 15:36:27 +0000
committerPablo Saratxaga <pablo@mandriva.com>2001-03-05 15:36:27 +0000
commit16163948036f88c2b3d0c425a6391546320ed101 (patch)
treea9f32d79969b1c606a0560142259e54f0b09c740 /bashrc
parent833f477b282fe1ceffa500c85beb13421ccb4ab6 (diff)
downloadrootfiles-16163948036f88c2b3d0c425a6391546320ed101.tar
rootfiles-16163948036f88c2b3d0c425a6391546320ed101.tar.gz
rootfiles-16163948036f88c2b3d0c425a6391546320ed101.tar.bz2
rootfiles-16163948036f88c2b3d0c425a6391546320ed101.tar.xz
rootfiles-16163948036f88c2b3d0c425a6391546320ed101.zip
Allowed color ls on xterms
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/bashrc b/bashrc
index 018f569..0154b6f 100644
--- a/bashrc
+++ b/bashrc
@@ -13,8 +13,8 @@ alias p='cd -'
# Tell to df to don't see the supermount filesystems.
alias df='df -x supermount'
-#
-[ -z $DISPLAY ] || . /etc/profile.d/color_ls.sh
+# define colors for "ls" (ls will use it oinly if the terminal allows it)
+. /etc/profile.d/color_ls.sh
# Source global definitions
if [ -f /etc/bashrc ]; then