turn off bash colored prompts for all users
Rick Stevens
ricks at alldigital.com
Fri Aug 2 16:33:26 UTC 2013
On 08/02/2013 05:27 AM, Darryl L. Pierce issued this missive:
> 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
It's cleaner to "unalias ls" in your ~/.bashrc instead.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital ricks at alldigital.com -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- Vegetarian: Old Indian word for "lousy hunter" -
----------------------------------------------------------------------
More information about the users
mailing list