.bashrc .profile .bash_profile

Scott Haneda talklists at newgeo.com
Tue Oct 6 21:17:25 PDT 2009

On Oct 6, 2009, at 6:22 PM, Brandon Allbery wrote:

>> So, can I use it and not export it?  It seems in all examples I can  
>> find, CLICOLOR_FORCE needs to be exported, but maybe there is a  
>> "set" way to do it, 'SET CLICOLOR_FORCE' in which case it would not  
>> be exported, but just available to me for my session?
> Is there some reason you insist on CLICOLOR_FORCE instead of  
> CLICOLOR?  This *will* hurt you.
> There's a way to set it without exporting it, yes --- but if it's  
> not exported, ls won't see it.

Just could never get it to work...
# Color output
export CLICOLOR=1
export LSCOLORS=dxfxcxdxbxegedabagacad

If I type ls -la I get coloring, if I use an alias based on the same  
thing, I get no coloring.  Ah ha, I was aliasing ls -la | grep - 
v .DS_Store, which kills the color.

Suggestions on how to mask out those files, and still maintain my  
Scott * If you contact me off list replace talklists@ with scott@ *

More information about the macports-users mailing list