On 07 Sep 2002 19:20:49 +0200 Roberto Sebastiano <[EMAIL PROTECTED]> wrote: 8-� 
 > Il sab, 2002-09-07 alle 19:12, nusam ha scritto:
8-�  > > Mi rendo conto che � una cosa che dovrei sapere ma non ricordo come 
fare per
8-�  > > avere i colori con ls...
8-�  > > se faccio 
8-�  > > ls --color 
8-�  > > 
8-�  > > oppure
8-�  > > 
8-�  > > alias ls='ls --color'
8-�  > > 
8-�  > > funza perfettamente ma se metto la riga in .bashrc non funziona pi�?
8-�  > > 
8-�  > > ho un terribile buco di memoria...
8-�  > Devi togliere il commento da queste righe in .bash_profile:
8-�  > if [ -f ~/.bashrc ]; then
8-�  >     source ~/.bashrc
8-�  > fi
8-�  > 
8-�  > e poi in .bashrc a quest'altre:
8-�  >     eval `dircolors`
8-�  >     alias ls='ls --color=auto'
8-�  >
Il mio /root/.bashrc suona cos�:
export LS_OPTIONS='--color=auto'
alias ll='ls $LS_OPTIONS -l'
alias l='ls $LS_OPTIONS -lA'
alias lm='ls $LS_OPTIONS -al|more'

provalo che funziona. Uso la BASH.

linuxabbestia

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



<<Unix IS user friendly... It's just selective about who its friends are!>>

 See "User's Guide":     http://www.debian.org/doc/manuals/users-guide/
 See "Debian reference": http://www.debian.org/doc/manuals/debian-reference/
 "Debian reference" Project at: http://qref.sf.net

Please DO NOT send e-mail with any attachment in a "proprietary format", such 
as either .doc or .ppt, BECAUSE: 
http://www.fsf.org/philosophy/no-word-attachments.html (the Italian version is 
available on the following url: 
http://www.fsf.org/philosophy/no-word-attachments.it.html)
T H A N K S   ;-P


Rispondere a