Bug 140628 - dircolors doesn't exist on non_linux systems
Bug#: 140628 Product:  Gentoo/Alt Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: alt@gentoo.org Reported By: drizzt@gentoo.org
Component: Other
URL: 
Summary: dircolors doesn't exist on non_linux systems
Keywords:  
Status Whiteboard: 
Opened: 2006-07-16 05:57 0000
Description:   Opened: 2006-07-16 05:57 0000
dircolors doesn't exists on non linux systems,
i attach a patch to /etc/skel/.bashrc to activate coloured ls in BSD'ish
userbase

------- Comment #1 From Timothy Redaelli 2006-07-16 06:00:04 0000 -------
Created an attachment (id=91886) [details]
/etc/skel/.bashrc patch

------- Comment #2 From Diego E. 'Flameeyes' Pettenò 2006-07-19 18:44:33 0000 -------
Mike what you think? :)

------- Comment #3 From SpanKY 2006-07-19 19:17:27 0000 -------
which is an external binary -> use 'type -p'

looks to me like CLICOLOR is just as bad as dircolors

ive updated the skel like so:
if [[ -f ~/.dir_colors ]] ; then
    eval $(dircolors -b ~/.dir_colors)
elif [[ -f /etc/DIR_COLORS ]] ; then
    eval $(dircolors -b /etc/DIR_COLORS)
fi

------- Comment #4 From SpanKY 2006-07-30 16:20:59 0000 -------
*** Bug 140947 has been marked as a duplicate of this bug. ***