Welcome to WebmasterWorld Guest from 107.20.110.201

Forum Moderators: bakedjake

Message Too Old, No Replies

Changing Colors on Konsole

WHere is this done?

     

Nick_W

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

WebmasterWorld Senior Member nick_w is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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

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

10+ Year Member



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

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

WebmasterWorld Senior Member nick_w is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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

Many thanks, much appreciated...

Nick

 

Featured Threads

Hot Threads This Week

Hot Threads This Month