Re: turn off bash colored prompts for all users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 01, 2013 at 11:49:27AM -0700, Joe Zeff wrote:
> On 08/01/2013 06:20 AM, Tom Horsley wrote:
> >On Thu, 01 Aug 2013 09:07:07 -0400
> >Neal Becker wrote:
> >
> >>I suspect colored prompts are confusing emacs tramp.  What's the easiest way to
> >>turn it off for all users (especially root)?
> >
> >There is a whole slew of things in /etc/profile that turn on
> >annoying environment variables which enable things like that.
> >Grep for the one responsible, do an rpm -q -f /etc/profile/whatever
> >to see which package inflicted it on you, then yum -C erase
> >that package (of course, checking to see there aren't
> >other more critical things provided by the package :-).
> >
> 
> Personally, I've never liked color ls, largely because it's almost
> impossible to find a chart that tells you what the colors mean.  I
> used to track down where that was set and disable it, but that can
> get changed by an update.  Now, I just put the following line near
> the bottom of ~/.bashrc:
> 
> alias ls=ls
> 
> and that overrides anything done earlier.  Maybe there's something
> equivalent for this that will work for all users on prompts.

The colors are defined in /etc/profile.d/colorls.sh:

mcpierce@mcpierce-laptop:temp (master) $ rpm -qf /etc/profile.d/colorls.sh 
coreutils-8.21-11.fc19.x86_64

-- 
Darryl L. Pierce <mcpierce@xxxxxxxxx>
http://mcpierce.fedorapeople.org/
"What do you care what people think, Mr. Feynman?"

Attachment: pgprHZmCggmnY.pgp
Description: PGP signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux