Also, some software can add files to the bashrc.d directory too. I'm
not sure what added the gentoo-color file but I also found a file for
kitty that I installed recently. If I remove kitty, it removes the file too. From what I've read, this is why it is changing to a directory.
It gives software a place to change these settings and be removed if the software is removed.
I did a major upgrade and found out I had a lot of config files to
update. I performed those updates, while losing some of my settings.
Anyway, I figured out how to set the alias variables. Simple enough.
Create a file and list them in the file. The PS1 is different because
it usually determines if a user is root or not and gives a different
prompt. That requires a little bit of scripting, which most know is a
huge weak point for me.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 164:29:18 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,518 |