Remove npm and linuxbrew paths, Rbenv vars and Java SDK function