Is there any real advanage to breaking all aliases out the .bashrc into it’s own .bash_aliases file?
I used ZSH and .zshrc…
I have a whole bunch… But I can say - it’s real PITA trying to replicate those across ALL the systems I use. Everywhere…
AT one point my ~/.zshrc was a symlink to a file on my cloud storage…
Can’t remember what went wrong… But I stopped doing that…
I do have one customer where about 80% of all their UNIX and Linux systems mount $HOME from an NFS share (NetApp
) - so my .profile, and .bashrc and .zshrc are semi “Universal”…
Strangely - my home NAS is UNIX (TrueNAS) and it wouldn’t be that hard to have an automount for $HOME… But I prefer to keep my home systems isolated from one another to some extent…
Why i’m asking is, I have 5 systems 3 debian & 2 arch. i want to have basic standard .bashrc for all systems, and a .bash_aliases for each distro base.
That is a good reason for separating them.
I have given up on aliases … have enough trouble remembering commands. Anything long I use copy/paste from my recipe files.
You run 5 systems . Do you share user files? NFS is worth learning.