Jump to content
funtoo forums
digifuzzy

Terminal Colouring

Recommended Posts

There has to be a quick answer to this that doesn't involve massive amounts of web searches.

One of the nice/cool things to have in Funtoo is the automatic/automagical context colouring that occurs when using nano or such. My personal terminal preferences are dark in nature making reading dark blue or dark red text on a black ground almost impossible to read. This is especially noticeable when viewing emerge conflicts.

Where are the colour settings stored? Personally, I would like to edit these properties locally to improve readability.

Share this post


Link to post
Share on other sites
4 hours ago, digifuzzy said:

@lazlo.vii

No. Not helpful.

In funtoo (at least mine) /etc/skel is an empty directory. My .bashrc contents are unaltered from default.

Try "ls -a /etc/skel/" and you should see 3 or 4 hidden files in there.  You might also look into a package called grc.  It is the Generic Colouriser and provides colored output for a wide variety of programs.

Share this post


Link to post
Share on other sites
2 hours ago, lazlo.vii said:

Try "ls -a /etc/skel/" and you should see 3 or 4 hidden files in there.  You might also look into a package called grc.  It is the Generic Colouriser and provides colored output for a wide variety of programs.

Yes - hidden files in /etc/skel. No - not helpful as these are set to upstream default.

No on grc being installed but it is a possibility. Concern is would this package conflict with what Funtoo does.

I was hoping someone with distribution knowledge could chime in to explain how Funtoo implemented this as it seems this is specific to this distribution and not "generic linux".

Share this post


Link to post
Share on other sites

coreutils installs certain system files like /etc/DIR_COLORS and /etc/profile calls /etc/bash/bashrc which sources those colors and sets them.Also sources term files installed by ncurses for term capability etc.

Share this post


Link to post
Share on other sites
26 minutes ago, bcowan said:

coreutils installs certain system files like /etc/DIR_COLORS and /etc/profile calls /etc/bash/bashrc which sources those colors and sets them.Also sources term files installed by ncurses for term capability etc.

There we go... Winner!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...