console font colours

Thilo Six T.Six at gmx.de
Sun Nov 26 11:51:31 UTC 2006


Gabriel Dragffy wrote the following on 26.11.2006 12:43:

<snip>

> erm.. yeah that would be good too. Actually I was thinking along the
> lines of having different colours for files, folders, executables etc
> when using bash..?

/etc/skel/.bashrc
---------------------------------------------------------
# enable color support of ls and also add handy aliases
if [ "$TERM" != "dumb" ]; then
    eval "`dircolors -b`"
    alias ls='ls --color=auto'
fi
---------------------------------------------------------

put that in your ~/.bashrc (personally i also add -F to the ls options)

HTH Thilo
-- 
i am on Ubuntu 2.6 KDE
- some friend of mine

gpg key: 0x4A411E09





More information about the ubuntu-users mailing list