environment specific setups - mrniceguy127/dotfiles GitHub Wiki
~/.zshrc and ~/.zprofile
I've set up my .zshrc and .zprofile to source scripts located in ~/.scripts/env/env.zshrc
and ~/.scripts/env/env.zprofile
respectively. These sourced scripts add functionality to .zshrc and .zprofile that is dependent on the environment, as in, they could contain aliases for things stored on another drive, variables specific to your setup, etc. They are .gitignored and should only be created by the user based on their needs. That being said, it's probably a good idea to only edit those files if you want to update .zshrc and/or .zprofile.
~/.vimrc (plugins)
Similar to before, except for vim plugins. Plugins are configured in ~/.scripts/env/env.vimplugs
and should contain configurations for the plugin manager and everything related to plugins. Sourced by .vimrc.
TERMATT
If you look around these files, you'll probably see multiple references to the "TERMATT" environment variable. This variable basically says that these dotfiles are on my own computer and contains a special string for my script launcher. The reasons for this are because a) any other user will not have this script launcher and b) it allows me to make key binds in my i3-config that will only launch if that variable is defined so that it doesn't disturb unsuspecting users.