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
|
dircolors doesn't exists on non linux systems,
i attach a patch to /etc/skel/.bashrc to activate coloured ls in BSD'ish
userbase
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
*** Bug 140947 has been marked as a duplicate of this bug. ***