Fix and simplify 'nvm' setup
parent
28f6655e2e
commit
6760db72c5
8
.bashrc
8
.bashrc
|
@ -87,13 +87,7 @@ fi
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
# Node {{{
|
# Node {{{
|
||||||
# Move nvm folder away from home directory
|
. /usr/share/nvm/init-nvm.sh
|
||||||
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
|
|
||||||
. /usr/share/nvm/nvm.sh --no-use
|
|
||||||
. /usr/share/nvm/bash_completion
|
|
||||||
. /usr/share/nvm/install-nvm-exec
|
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
# Go {{{
|
# Go {{{
|
||||||
|
|
Loading…
Reference in New Issue