best configuration to work with emacs server
correct conditionals for loading of nvm and z