Add nvm initialization

master
Hektor Misplon 2022-10-25 20:57:14 +02:00
parent 25348f79c1
commit 33e32fe515
1 changed files with 7 additions and 0 deletions

View File

@ -81,6 +81,13 @@ fi
# }}} # }}}
# Node {{{ # 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 {{{ # Jupyter {{{