I was looking into the possibilities of changing the foreground and background colours in command-only-mode, which I understand uses tty1
I tried changing the colours in my .bashrc file, which are applied when I login, but when I then run a command like ls, top, man or vi etc, all either appear to have their own colour scheme or get their colours from some system wide defaults and when I exit the command and control returns to the command line/shell, the colours I set are overridden by the command that I just exited.
I am looking for a way to permanently and consistently set the colour scheme somewhere, preferably in one place which can be applied to all shells, commands and TTY's etc.
So isn't there some kinda gismo laying round some place that can do that? and if not why not ;)
terminfo
to define the schema. Most CLI tools should use this souce, too. see http://man7.org/linux/man-pages/man5/terminfo.5.html – LupusE Nov 20 '19 at 20:54