homepage Welcome to WebmasterWorld Guest from 50.17.21.7
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
Changing Colors on Konsole
WHere is this done?
Nick_W




msg:913050
 9:00 am on Feb 19, 2003 (gmt 0)

Hi all,

when I 'ls' i get directories in dark blue. As I have the bg set to black this is difficult to see.

I can't find where I can change these settings? - Ideally I'd like no colors but directories to be listed with a trailing slash like 'dir/'.

Any pointers as to how to change these settings would be much appreciated...

Many thanks

Nick

 

NGene




msg:913051
 9:10 am on Feb 19, 2003 (gmt 0)

You need to edit either .bashrc or .bash_profile in your home directory. Look for a line that says something like this:

alias ls='ls --color'

or alias ls='ls --color=auto' or something similar. This command colors the directories. If you want no color but directories listed with a trailing slash, change the above line to

alias ls='ls -F'

Nick_W




msg:913052
 9:15 am on Feb 19, 2003 (gmt 0)

Perfect! - now I can stop typing ls --color=never every bloody time ;)

Many thanks, much appreciated...

Nick

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved