Re: How to eliminate "ls" color in xterm -

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

 



On Mon, 2004-09-27 at 11:20, Mike.Kent@xxxxxxxxxxxx wrote:
> Thanks! That works with vi, too, like \vi and no color. Anyone know where
> this is documented?
> 

This is a feature of the shell.
\ls and \vi force use of the base application instead of using the
alias.  By default the shell uses the alias if one exists.

On mine I by default was given these aliases among others.
  alias l.='ls -d .* --color=tty'
  alias ll='ls -l --color=tty'
  alias ls='ls --color=tty'
  alias vi='vim'
Thus the \vi forces use of vi instead of vim and \ls uses ls without the
color option.

A very good reference on commands and how shells work would be "Unix
Shell Programming" or "Linux in a Nutshell"  They both are outstanding
desktop references.
 
> 
> 
>                                                                                                                                          
>                       Michael Schwendt                                                                                                   
>                       <fedora@wir-sind-co        To:       For users of Fedora Core releases <fedora-list@xxxxxxxxxx>                    
>                       ol.org>                    cc:                                                                                     
>                       Sent by:                   Subject:  Re: How to eliminate "ls" color in xterm -                                    
>                       fedora-list-bounces                                                                                                
>                       @redhat.com                                                                                                        
>                                                                                                                                          
>                                                                                                                                          
>                       09/25/2004 06:00 AM                                                                                                
>                       Please respond to                                                                                                  
>                       For users of Fedora                                                                                                
>                       Core releases                                                                                                      
>                                                                                                                                          
> 
> 
> 
> 
> On Sat, 25 Sep 2004 05:14:26 -0400, Bob Goodwin wrote:
> 
> > How can I eliminate color in "ls" listings?
> >
> > In .bashrc  can add    alias ls='ls --color=never'
> >
> > But this does not change the listing in the gui terminal window.
> >
> > There must be a place to "alias" ls  for something like    ls -l --si
> > --color=never  ?
> 
> I type \ls instead of ls when I don't want the colours.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux