SOLVED: Where does terminal color scheme in 17.3 come from?
Forum rules
Topics in this forum are automatically closed 6 months after creation.
Topics in this forum are automatically closed 6 months after creation.
SOLVED: Where does terminal color scheme in 17.3 come from?
In 18 and later, I can comment-out the 30 or so lines following "uncomment for a colored prompt" to eliminate the avocado green color in a terminal. But in 17.3, there is no .bashrc file. Where does 17.3 get its color scheme from? I assume there's a .bashrc in a system directory that users use, but where is that?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Where does terminal color scheme in 17.3 come from?
The defaults are actually internal to the program
resp.
and edit the created file. The global /etc/bash.bashrc uses it through on startup
dircolors
and can be viewed with dircolors -p
. To customize per user resp. system wide doCode: Select all
dircolors -p >~/.dir_colors
Code: Select all
dircolors -p | sudo tee /etc/DIR_COLORS
eval $(dircolors -b ~/.dir_colors)
or same with /etc/DIR_COLORS if ~/.dir_colors does not exist; you can do as well so to test changes immediately without the need to restart bash.Re: Where does terminal color scheme in 17.3 come from?
Verrrrrry interesting, lots of things to play with in that file. Thanks!