Port preclasspath() to bashrc