1 |
On Friday 06 April 2007 12:06, Bo Ørsted Andresen wrote: |
2 |
|
3 |
> --color=y was for emerge to enable colors through a pipe. less needs -R to |
4 |
> show them. |
5 |
|
6 |
I'm coming to the conclusion that something must be amiss in my set up because |
7 |
with or without -R, less shows black & white content only. |
8 |
|
9 |
This is an extract of my .bashrc: |
10 |
============================ |
11 |
# /etc/skel/.bashrc: |
12 |
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/skel/.bashrc,v 1.8 |
13 |
2003/02/28 |
14 |
15:45:35 azarah Exp $ |
15 |
|
16 |
# This file is sourced by all *interactive* bash shells on startup. This |
17 |
# file *should generate no output* or it will break the scp and rcp commands. |
18 |
|
19 |
# colors for ls, etc. |
20 |
eval `dircolors -b /etc/DIR_COLORS` |
21 |
alias d="ls --color" |
22 |
alias ls="ls --color=auto" |
23 |
alias ll="ls --color -l" |
24 |
alias cp="cp -iv" |
25 |
alias mv="mv -iv" |
26 |
alias rm="rm -iv" |
27 |
alias grep='grep --color=auto' |
28 |
#alias less="less -R" |
29 |
alias diff=colordiff |
30 |
============================ |
31 |
|
32 |
Any ideas? |
33 |
-- |
34 |
Regards, |
35 |
Mick |