global: move $PATH related stuff to global.el