Moved everything back to bashrc. Too many different system implementations to try splitting them up.