Package: bash Version: 3.1dfsg-9 Severity: normal File: /etc/skel/.bashrc The default /etc/skel/.bashrc contains these lines:
if [ "$TERM" != "dumb" ]; then eval "`dircolors -b`" alias ls='ls --color=auto' #alias dir='ls --color=auto --format=vertical' #alias vdir='ls --color=auto --format=long' fi However, dircolors already has logic to check whether the terminal supports color, and it has a more comprehensive idea of what terminals support color than 'anything but "dumb"'. Thus, please remove the test for [ "$TERM" != "dumb" ], and invoke dircolors unconditionally, letting it figure out if it should do anything. If you want to avoid setting the ls alias when not on a terminal that supports color, please consider something like this: eval "`dircolors -b`" if [ -z "$LS_COLORS" ]; then alias ls='ls --color=auto' #alias dir='ls --color=auto --format=vertical' #alias vdir='ls --color=auto --format=long' fi - Josh Triplett -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages bash depends on: ii base-files 4.0.3 Debian base system miscellaneous f ii debianutils 2.28.4 Miscellaneous utilities specific t ii libc6 2.7-10 GNU C Library: Shared libraries ii libncurses5 5.6+20080308-1 Shared libraries for terminal hand Versions of packages bash recommends: ii bash-completion 20060301-4 programmable completion for the ba -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]