Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 91886 Details for
Bug 140628
dircolors doesn't exist on non_linux systems
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
/etc/skel/.bashrc patch
bashrc.patch (text/plain), 511 bytes, created by
Timothy Redaelli (RETIRED)
on 2006-07-16 06:00:04 UTC
(
hide
)
Description:
/etc/skel/.bashrc patch
Filename:
MIME Type:
Creator:
Timothy Redaelli (RETIRED)
Created:
2006-07-16 06:00:04 UTC
Size:
511 bytes
patch
obsolete
>--- .bashrc.old 2006-05-09 12:29:58 +0200 >+++ .bashrc 2006-07-16 17:02:30 +0200 >@@ -15,10 +15,14 @@ > fi > > # Enable colors for ls, etc. Prefer ~/.dir_colors #64489 >-if [[ -f ~/.dir_colors ]]; then >- eval `dircolors -b ~/.dir_colors` >+if which dircolors 2>&1 >/dev/null; then >+ if [[ -f ~/.dir_colors ]]; then >+ eval `dircolors -b ~/.dir_colors` >+ else >+ eval `dircolors -b /etc/DIR_COLORS` >+ fi > else >- eval `dircolors -b /etc/DIR_COLORS` >+ export CLICOLOR=1 > fi > > # Change the window title of X terminals
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 140628
: 91886