Hi !
instead of using the $LS_OPTIONS environment variable, which by the way
was quite different in that old Slackware:
Sorry ... I think you have misunderstud my question. I didn't mean
that the colors should look exactly like they do is Slackware, but I
just wantet some colors, so that I
Sure, you should be able to alias ls to ls --color=auto
I do it like this in my .bashrc
alias ls='ls --color=auto'
On 04-Sep-97 Michael Jensen wrote:
Hi !
Just wondering if it is possible to put some colors on the directory
listings ... like there is in Slackware ? It sure makes it easyer
To also have .gz and .tgz in read quite like in slackware, you may
also try putting in /etc the file I send as attachment and in /etc/profile
these lines:
# set up the color-ls environment variables:
if [ $SHELL = /bin/zsh ]; then
eval `dircolors -z`
elif [ $SHELL = /bin/ash ]; then
To also have .gz and .tgz in read
In red of course, sorry ^
Nicola
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble? e-mail to [EMAIL PROTECTED] .
On Fri, 5 Sep 1997, Nicola Bernardelli wrote:
To also have .gz and .tgz in read
In red of course, sorry ^
Besides the --color=auto option also set your LS_COLORS environment
variable - I use:
export LS_COLORS=:*.gz=31\;1:*.zip=31\;1:*.c=35:*.h=36:
SEE: man ls
Ah... yes, I read `man ls` and I have the 'auto' option on, actually
I have this alias:
alias ls='ls --color=auto -F -T 0'
instead of using the $LS_OPTIONS environment variable, which by the way
was quite different in that old Slackware:
--8bit --color=tty -F -T 0
so I _had_ to
See /usr/doc/fileutils/color-ls.gz which describes how to get colors in
the directory listings. The quick answer is:
ls --color
or
alias ls='ls --color=auto'
in sh type shells.
I hope this helps.
// Heikki
--
Heikki Vatiainen * [EMAIL PROTECTED]
Tampere University of
7 matches
Mail list logo