[341] in RedHat Linux List
Re: Color bash prompt messes up command-line editing: ls --color does too
daemon@ATHENA.MIT.EDU (James Youngman)
Tue Oct 22 05:00:27 1996
To: redhat-list@redhat.com
From: JYoungman@vggas.com (James Youngman)
Date: 22 Oct 1996 08:58:19 GMT
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
In article <54gf5u$7qu@halon.vggas.com>, sjmudd@phoenix.ea4els.ampr.org says...
>
>I get a similar problem with ls, using the alias ls='ls --color', but when
>piping the output. Eg. 'ls /usr/doc' works ok, but 'ls /usr/doc |less'
>comes out like the following: (ESC is in inverse video.)
Use
alias ls="ls --color=auto"
instead.
--
James Youngman VG Gas Analysis Systems |The trouble with the rat-race
Before sending advertising material, read |is, even if you win, you're
http://www.law.cornell.edu/uscode/47/227.html|still a rat.
--
PLEASE read the Red Hat FAQ, Tips, HOWTO and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-HOWTO
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null