2 ms·
> unsure how best to overlap aliases and configs that are sensitive to my workplace I have a .zshrc that sources .zshrc_mh, .zshrc_$employer, etc. That way my
by mh- 1y ago
> unsure how best to overlap aliases and configs that are sensitive to my workplace
I have a .zshrc that sources .zshrc_mh, .zshrc_$employer, etc. That way my .zshrc is always a shareable config of sane defaults, and weird/opinionated aliases can go in my _mh, stuff particular to my employer goes in the other one, so forth.
In the past I had a more complex loading system I used (and made) that worked out of ~/.zsh.d/, but I no longer bother with all of that.