DIR_COLORS

DIR_COLORS

Post by John Prokope » Tue, 06 Mar 2001 09:08:12



Can someone tell me why when I start an xterm as my normal user account
my dir_colors are not used but when I "su" dir_colors are used?

thanks

--
John D. Prokopek

"The bus came by and I got on
thats when it all began ...."

 
 
 

DIR_COLORS

Post by Dowe Kell » Tue, 06 Mar 2001 09:53:23



>Can someone tell me why when I start an xterm as my normal user account
>my dir_colors are not used but when I "su" dir_colors are used?

>thanks

perhaps root's .bashrc has something like

alias ls="ls --color=auto"

in it.

Quote:>"The bus came by and I got on
>thats when it all began ...."

Was Cowboy Neil at the wheel? :-))

--

---
And the eyes of them both were opened and they saw that their files
were world readable and writable, so they chmod 600 their files.
        - Book of Installation chapt 3 sec 7

 
 
 

DIR_COLORS

Post by David Efflan » Tue, 06 Mar 2001 09:55:03



>Can someone tell me why when I start an xterm as my normal user account
>my dir_colors are not used but when I "su" dir_colors are used?

Maybe you are trying to set an alias in ~/.bash_profile (or /etc/profile)  
instead of in ~/.bashrc (or /etc/bashrc) where it belongs.

Simply running an xterm does not necessarily do a login.  But running a
shell command does read the appropriate rc file(s).  So any aliases should
be set in the shell's rc file, not the login or profile.

--

http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://cgi-help.virtualave.net/  http://hammer.prohosting.com/~cgi-wiz/

 
 
 

1. Color 'ls' with DIR_COLORS (.dir_colors)

I got my color ls command to work (ls --color), however, i want to
customize its with my own color scheme.  I take a look at the default
DIR_COLORS file at my /etc/DIR_COLORS.  What ever changes I make to it, it
doesn't seem to have any effect on my ls --colors command.  What am I doing
wrong?

dwc

2. Problems with RedHat 5.2

3. DIR_COLOR file

4. Xwindows and Metro-x

5. getting .dir_colors into LS_COLORS

6. IP_MASQ: Can a masqed node accept unsolicited connections?

7. DIR_COLORS

8. VPN tunneling NT through Linux

9. .dir_colors

10. ls color (/etc/DIR_COLORS) on RH5.2

11. NO DIR_COLORS in RH4.2

12. emacs dired and DIR_COLORS problem

13. What is "DIR_COLORS" ?