I'm using zinit to install nvm, zinit allows things to be run lazily and can execute scripts, and load/unload completions, as well as keep track of them. I am also using yadm, yadm manages dotfiles, so the zshrc that's being modified is actually just a copy of a template that may later be overwritten. It'd be nice if I could run the installer without writing to my ~/.zshrc