Broadly speaking, how does LaTeX look for class and styles in a *nix based system?
export TEXMFHOME='~/.config/texmf' followed by
texhash ~/.config/texmf is not referenced when I call one of my own classes or styles. Interestingly, even if TEXMFHOME remains as I have just described, LaTeX will still search ~/texmf/tex/latex/local/ for classes and styles. That leads me to believe that it will always look there but perhaps I am wrong.
So, how does LaTeX search for classes / styles? Which folders does it look within, and how do you edit those settings?
EDIT: Unlike other questions, I am also wondering how to edit these recursive settings, either by declaring variables or editing config files.