[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ls - color by default



On Thu, Jul 16, 1998 at 11:21:08PM -0500, Dave Jones wrote:
> Yeah, great point.  Problem is I (for one) don't know HOW to compile
> "--color" as the default.  Same thing with "less" as the default pager
> instead of "more", sure would be great to have that be standard.  Maybe
> someone could make a .deb package with all the cool "options" as defaults:

Less as default pager, add to /etc/profile:

export PAGER=less

or /etc/csh.login

setenv PAGER less

Similarly you can add "alias ls /bin/ls --color".

> color prompts

I don't think there is a terminal-independent way to do this.
The way discussed on this list recently will only work on the console,
xterm/rxvt, and ansi/vt100/etc terminals, but not others like vt52,
wyse etc.


Hamish
-- 
Hamish Moffatt, hamish@debian.org, hamish@rising.com.au, hmoffatt@mail.com
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome.   http://hamish.home.ml.org


--  
Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null


Reply to: