Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140628 - dircolors doesn't exist on non_linux systems
Summary: dircolors doesn't exist on non_linux systems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
: 140947 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-16 05:57 UTC by Timothy Redaelli (RETIRED)
Modified: 2006-08-12 20:23 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/skel/.bashrc patch (bashrc.patch,511 bytes, patch)
2006-07-16 06:00 UTC, Timothy Redaelli (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Redaelli (RETIRED) gentoo-dev 2006-07-16 05:57:11 UTC
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 Timothy Redaelli (RETIRED) gentoo-dev 2006-07-16 06:00:04 UTC
Created attachment 91886 [details, diff]
/etc/skel/.bashrc patch
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-07-19 18:44:33 UTC
Mike what you think? :)
Comment 3 SpanKY gentoo-dev 2006-07-19 19:17:27 UTC
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 SpanKY gentoo-dev 2006-07-30 16:20:59 UTC
*** Bug 140947 has been marked as a duplicate of this bug. ***