Dear all,

using tcsh on debian sid, I defined an alias for ls

alias ls 'ls --color -F !*'

This works as I expected.

However, doing a redirect results in unwanted "color-codes" being
added in the created file, for example:

ls -l foo.vim >x
cat x
-rw- ..... 2002-11-02 17:11 foo.vim


I would like to make use of the color feature however I would like
also to make use of redirections without unalias'ing ls always.

Is there any way to solve this problem?  

Thanks!

wbr,
Lukas
-- 
Lukas Ruf
http://www.lpr.ch
Wanna know anything about raw ip? 
Join [EMAIL PROTECTED] on http://www.rawip.org


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to