Re: RFC: root/non-root bash prompts different colours?

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

 



On 2004-12-09 (Thursday) 03:40, Jonathan Andrews wrote:
...
> If people want to play with colours how about changing the dark blue
> colour in 'ls' to one that people can read like cyan, i'm yet to find a
> computer I could read that text on yet - Its only the dark blue, but it
> would save starting a session with 'unalias ls' every time I login to a
> redhat box :-|   ....    
> 

    Just export your onw LS_COLORS in your ~/.bashrc, ex change:
from default: LS_COLORS='no=00:fi=00:di=00;34:....
to cyandir  : LS_COLORS='no=00:fi=00:di=00;36:....
    or append this in .bashrc / put it in /etc/profile.d/z_my_colors.sh:
--- cut ---
LS_COLORS=$(echo "$LS_COLORS" | sed 's/00;34:/00;36:/g')
export LS_COLORS
--- cut ---

-- 
Regards,
  Doncho N. Gunchev    Registered Linux User #291323 at counter.li.org
  GPG-Key-ID: 1024D/DA454F79                        http://pgp.mit.edu
  Key fingerprint = 684F 688B C508 C609 0371  5E0F A089 CB15 DA45 4F79


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux