Fix prezto nvm module loading

Need to move the dir setting up in the file before nvm load