summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--ChangeLog5
-rw-r--r--bashrc4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index a7f0a22..90e0451 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-03-05 Pablo Saratxaga <pablo@mandrakesoft.com>
+
+ * bashrc: sourcing of color ls should be done also for X11
+ (color in an xterm is nice)
+
2000-05-24 Chmouel Boudjnah <chmouel@mandrakesoft.com>
* Desktop/DrakConf.kdelnk: Don't launch with kdesu for root.
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