Re: listing directory contents with color
On Wed, 20 Aug 2003 13:49:01 +0300 Alphonse Ogulla [EMAIL PROTECTED] wrote: How do I get ls to list directory contents with color without passing the --color option everytime? Edit your ~/.bashrc (/etc/skel/.bashrc for all new users) and your ~/.bash_profile (/etc/skel/.bash_profile for all users) There is an option in .bashrc to turn it on, just uncomment it. There is an option in .bash_profile to source .bashrc on logon, just uncomment it. -- -johann koenig Now Playing: The Grateful Dead - Uncle John's Band : Skeletons From The Closet Today is Sweetmorn, the 12nd day of Bureaucracy in the YOLD 3169 My public pgp key: http://mental-graffiti.com/pgp/johannkoenig.pgp pgp0.pgp Description: PGP signature
Re: listing directory contents with color
On Wednesday 20 August 2003 12:49, Alphonse Ogulla wrote: How do I get ls to list directory contents with color without passing the --color option everytime? Have a look at your ~/.bashrc and ~/.bash_profile. In .bash_profile you'll have to uncomment the block for inclusion of the .bashrc. -- Got Backup? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: listing directory contents with color
On Wed, Aug 20, 2003 at 01:49:01PM +0300, Alphonse Ogulla wrote: How do I get ls to list directory contents with color without passing the --color option everytime? alias ls='ls --color=auto' Cheers, -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: listing directory contents with color
On Wednesday 20 August 2003 14:34, Johann Koenig wrote: On Wed, 20 Aug 2003 13:49:01 +0300 Alphonse Ogulla [EMAIL PROTECTED] wrote: How do I get ls to list directory contents with color without passing the --color option everytime? Edit your ~/.bashrc (/etc/skel/.bashrc for all new users) and your ~/.bash_profile (/etc/skel/.bash_profile for all users) There is an option in .bashrc to turn it on, just uncomment it. There is an option in .bash_profile to source .bashrc on logon, just uncomment it. Thanks mate. Worked out perfectly. -- Alphonse Ogulla Nairobi, Kenya -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: listing directory contents with color
Alphonse Ogulla [EMAIL PROTECTED] writes: How do I get ls to list directory contents with color without passing the --color option everytime? My shell dotfiles (for zsh, but this should work for any modern Bourne shell) have: ls() { /bin/ls --color --classify $@; } which implements this functionality as a shell function. -- David Maze [EMAIL PROTECTED] http://people.debian.org/~dmaze/ Theoretical politics is interesting. Politicking should be illegal. -- Abra Mitchell -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]