Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2006 18:39:33 +0300
From:      User Elisej <a@zeos.net>
To:        "Rodrigo G. Tavares de Souza" <rodrigo@sensorsistemas.com.br>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Changing prompt
Message-ID:  <20060328153933.GA626@>
In-Reply-To: <44290EC5.7080101@sensorsistemas.com.br>
References:  <44290EC5.7080101@sensorsistemas.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 28, 2006 at 07:24:05AM -0300, Rodrigo G. Tavares de Souza wrote:
> Hi,
> 
>   How could I show the path on prompt or see colored files when I make a ls 
> command?
> 
> Best Regards,
> Rodrigo Souza
> Sao Paulo - Brazil

The first depends on the shell used. For example, in bash do:
export PS1='\w>'

All about prompt is described in bash(1), tcsh(1) and so on.

Use
ls -G
for colored files
or set CLICOLOR and CLICOLOR_FORCE environment variables for the same. For example, in bash type:
export CLICOLOR=
export CLICOLOR_FORCE=

All about this is described in ls(1).

Best Regards,
Elisej Babenko
Kiev
Ukraine



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060328153933.GA626>