On Sun, Dec 19, 2004 at 11:10:40PM -0800, David Lawyer wrote:
> On Sat, Dec 18, 2004 at 08:37:34PM -0500, Branden Robinson wrote:
> > retitle 283764 xfree86-common: Xsession can barf if user has aliased ls to force colors on
> > thanks
> >
> > On Tue, Nov 30, 2004 at 11:14:40PM -0800, David Lawyer wrote:
> > > Package: xfree86-common
> > > Version: 4.3.0.dfsg.1.-1
> >
> > Version *what*?
> dpkg --status shows: Version: 4.3.0.dfsg.1-1
Okay, that makes more sense. Note that this string is not the same as the
one in your original report.
> > > This is because I have in my /etc/profile:
> > >
> > > if [ $TERM = linux -o $TERM = xterm ]; then
> > > if [ $TERM = linux ]; then
> > > eval `dircolors`;
> > > ls () { command ls --color $* ; }
> > > fi
> > > else
> > > ls () { command ls -F $* ; }
> > > .....
> > 1) Don't override the names of Unix commands, even in your interactive
> > shell environment. It promotes bad habits.
Actually if you use an alias instead of a shell function for this, it
should work right.
> > 2) Never use "ls" when "echo" will suffice.
I remember now that I was using ls deliberately, because I wanted one
script name per line.
But I'm killing off the internal run_parts() anyway in -11.
--
G. Branden Robinson | Ambition: an overmastering desire
Debian GNU/Linux | to be vilified by enemies while
branden@debian.org | living and ridiculed by friends
http://people.debian.org/~branden/ | when dead. -- Ambrose Bierce
Attachment:
signature.asc
Description: Digital signature