Lukas Ruf <[EMAIL PROTECTED]> writes:
> using tcsh on debian sid, I defined an alias for ls
>
> alias ls 'ls --color -F !*'

'--color=auto' might be better for your purposes; it only inserts the
color magic if its output is connected to a terminal.

> 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.

You could also use /bin/ls explicitly to avoid the alias.

-- 
David Maze         [EMAIL PROTECTED]      http://people.debian.org/~dmaze/
  'chsh /bin/zsh', then ls() { /bin/ls --color=auto --classify "$@"; }


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

Reply via email to