Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 293693 Details for
Bug 430827
shouldn't override user's LS_COLORS
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
colorls.sh which doesn't override user defined LS_COLORS
colorls.sh (text/plain), 933 bytes, created by
Ondrej Vasik
on 2008-02-01 06:34:03 UTC
(
hide
)
Description:
colorls.sh which doesn't override user defined LS_COLORS
Filename:
MIME Type:
Creator:
Ondrej Vasik
Created:
2008-02-01 06:34:03 UTC
Size:
933 bytes
patch
obsolete
># color-ls initialization > >if [ -z "$LS_COLORS" ]; then ># do not override user defined colors and use them > alias ll='ls -l --color=tty' 2>/dev/null > alias l.='ls -d .* --color=tty' 2>/dev/null > alias ls='ls --color=tty' 2>/dev/null > return >fi > >alias ll='ls -l' 2>/dev/null >alias l.='ls -d .*' 2>/dev/null > >COLORS=/etc/DIR_COLORS >[ -e "/etc/DIR_COLORS.$TERM" ] && COLORS="/etc/DIR_COLORS.$TERM" >[ -e "$HOME/.dircolors" ] && COLORS="$HOME/.dircolors" >[ -e "$HOME/.dircolors.$TERM" ] && COLORS="$HOME/.dircolors.$TERM" >[ -e "$HOME/.dir_colors" ] && COLORS="$HOME/.dir_colors" >[ -e "$HOME/.dir_colors.$TERM" ] && COLORS="$HOME/.dir_colors.$TERM" >[ -e "$COLORS" ] || return > >eval `dircolors --sh "$COLORS"` >[ -z "$LS_COLORS" ] && return > >if ! egrep -qi "^COLOR.*none" $COLORS >/dev/null 2>/dev/null ; then > alias ll='ls -l --color=tty' 2>/dev/null > alias l.='ls -d .* --color=tty' 2>/dev/null > alias ls='ls --color=tty' 2>/dev/null >fi
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 430827
: 293693