I wrote a custom package with my most used commands and it works great. However I find the process of keeping it up to date a little involved. Because the
/usr/local/texlive/... directory is owned by root, I can't write changes from the editor directly to it. On the other hand I don't have a
~/.tex or any (la)tex-related directory in my home folder. So what I'm doing now is to edit a copy of the
.sty file that resides in my
~/ folder and always save it when I make a change. Then I
sudo cp it to
/usr/local/texlive/..., I rebuild the index and finally I can use it.
Is there a quicker way to make the changes readily available to my system so that I can try them right after having made them?