summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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