Customize Terminal Colors

Is there an easy way to customize Julia terminal colors directly? For example, can you type something like

setterminalcolors(default)

or

setterminalcolor(prompt, orange);
setterminalcolor(juliakeywords, brown);
# and so on

and then the settings get saved?

(Not looking for that package OhMyREPL or whatever its name is.)

1 Like

You might want to check out

https://docs.julialang.org/en/v1/manual/environment-variables/#REPL-formatting-1

in standard julia docs.

2 Likes

Within the Julia space, perhaps Colors.jl or Crayons.jl would be of use?


1 Like

Thanks, both of you. I will investigate them.

How could I have missed those environment variables?

I managed to change some colors (without any additional packages). Then I was looking to change the color of the Pkg prompt, and couldn’t find anything in the documentation. What is the exact name of the variable?