diff --git a/.bashrc b/.bashrc index 4c5b871..45617c5 100644 --- a/.bashrc +++ b/.bashrc @@ -81,6 +81,13 @@ fi # }}} # Node {{{ +# Move nvm folder away from home directory +export NVM_DIR="${XDG_CONFIG_HOME}/nvm" +# Pretty much what is in `/usr/share/nvm/init-nvm.sh` but we add the `--no-use` +# flag to `nvm.sh` to make it lazy +source /usr/share/nvm/nvm.sh --no-use +source /usr/share/nvm/bash_completion +source /usr/share/nvm/install-nvm-exec # }}} # Jupyter {{{